~fabrixxm/confy-website

81a916a086836f51575ab248a581411da2285bc7 — fabrixxm 1 year, 9 months ago 0e39842
Move css out of html
2 files changed, 139 insertions(+), 142 deletions(-)

M index.html
A style.css
M index.html => index.html +3 -142
@@ 4,7 4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Confy - Conferences schedule viewer</title>
<link rel="icon" type="image/png" href="symbolic.png">

<link rel="stylesheet" media="all" href="style.css" />

<meta property="og:title" content="Confy - Conferences schedule viewer ">
<meta property="og:site_name" content="kirgroup.net">


@@ 14,145 14,6 @@
<meta property="og:image" content="https://confy.kirgroup.net/logo.svg">
<meta property="og:image" content="https://confy.kirgroup.net/confy2.png">


<style>
body {
    font-family: Cantarell, "Trebuchet MS", sans-serif;
    background: #ddd;
    color: #222;
    line-height: 1.4;
    margin: 0;
    text-align: justify;
    hyphens: auto;
}
a:link, a:visited {
    color: #099;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
header {
    background: rgba(0, 0, 0, 0.05);
    padding: 20px 0 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
header > div {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 0 10px;
}
.title {
    margin-bottom: 20px;
}
.title img {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(0, 0, 0, 0.15));
}
.title h1 {
    margin-top: -10px;
    margin-bottom: 0;
}
.title .tagline {
    margin: 0;
    font-size: x-large;
    color: #666;
}
header p {
    margin: .5em 0;
}
.screenshot {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(0, 0, 0, 0.15));
    border-radius: 8px;
}
.screenshot-main {
    max-width: 100%;
    min-height: 160px;
    display: block;
    margin: 5px auto 40px auto;
}
.grid {
    max-width: 820px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 0 40px;
    padding: 0 10px;
}
.grid .screenshot {
    max-width: 100%;
}
.grid > div > p {
    padding: 0 10px;
}
.grid > div > div {
    padding: 0 10px;
}

.screenshots {
    max-width: 820px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    grid-gap: 0 10px;
    align-items: center;
    padding: 0 10px;
    margin-top: 20px;
}
.screenshots img {
    max-width: 100%;
}
.screenshots > div > p {
    padding: 0 10px;
    margin-top: 0;
    text-align: center;
    color: gray;
}
.screenshots > div > div {
    padding: 0 10px;
}

.mono {
    max-width: 820px;
    padding: 0 10px;
    margin: auto;
}
.mono h2, .mono h3 {
    padding: 0 10px;
    margin: 1em 0 0 0;
}
code, pre {
    background: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
code {
    padding: .1em .3em;
}
pre {
    max-width: 100%;
    padding: 10px;
    overflow: auto;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}
footer {
    text-align: center;
    background: #333;
    color: #ccc;
    margin-top: 20px;
    padding: 20px;
}
footer a:link, footer a:visited {
    color: #fff;
}
</style>
<header>
    <div class="title">
        <img src="logo.svg" width="96" alt="Confy icon">


@@ 163,8 24,8 @@ footer a:link, footer a:visited {
        <!-- <p><a href="net.kirgroup.confy.flatpakref"><img height="50" alt="Install Flatpak" src="flatpak-badge-en.svg"></a></p>
        <p>⚠ Work In Progress ⚠</p> -->
        <p>
            <a href="https://sr.ht/~fabrixxm/Confy/">Develop</a>
            &middot; <a href="https://todo.sr.ht/~fabrixxm/confy">Issues</a>
            <a href="https://sr.ht/~fabrixxm/Confy/">develop</a>
            &middot; <a href="https://todo.sr.ht/~fabrixxm/confy">issues</a>
        </p> 
    </div>


A style.css => style.css +136 -0
@@ 0,0 1,136 @@
body {
    font-family: Cantarell, "Trebuchet MS", sans-serif;
    background: #ddd;
    color: #222;
    line-height: 1.4;
    margin: 0;
    text-align: justify;
    hyphens: auto;
}
a:link, a:visited {
    color: #099;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
header {
    background: rgba(0, 0, 0, 0.05);
    padding: 20px 0 20px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
header > div {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 0 10px;
}
.title {
    margin-bottom: 20px;
}
.title img {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(0, 0, 0, 0.15));
}
.title h1 {
    margin-top: -10px;
    margin-bottom: 0;
}
.title .tagline {
    margin: 0;
    font-size: x-large;
    color: #666;
}
header p {
    margin: .5em 0;
}
.screenshot {
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 15px rgba(0, 0, 0, 0.15));
    border-radius: 8px;
}
.screenshot-main {
    max-width: 100%;
    min-height: 160px;
    display: block;
    margin: 5px auto 40px auto;
}
.grid {
    max-width: 820px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 0 40px;
    padding: 0 10px;
}
.grid .screenshot {
    max-width: 100%;
}
.grid > div > p {
    padding: 0 10px;
}
.grid > div > div {
    padding: 0 10px;
}

.screenshots {
    max-width: 820px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    grid-gap: 0 10px;
    align-items: center;
    padding: 0 10px;
    margin-top: 20px;
}
.screenshots img {
    max-width: 100%;
}
.screenshots > div > p {
    padding: 0 10px;
    margin-top: 0;
    text-align: center;
    color: gray;
}
.screenshots > div > div {
    padding: 0 10px;
}

.mono {
    max-width: 820px;
    padding: 0 10px;
    margin: auto;
}
.mono h2, .mono h3 {
    padding: 0 10px;
    margin: 1em 0 0 0;
}
code, pre {
    background: #e9e9e9;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
code {
    padding: .1em .3em;
}
pre {
    max-width: 100%;
    padding: 10px;
    overflow: auto;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}
footer {
    text-align: center;
    background: #333;
    color: #ccc;
    margin-top: 20px;
    padding: 20px;
}
footer a:link, footer a:visited {
    color: #fff;
}