forked from Decentrala/website
c6574fb93d
fixes.
168 lines
2.4 KiB
CSS
168 lines
2.4 KiB
CSS
:root {
|
|
--light-text: #181715;
|
|
--light-bg: #ffffff;
|
|
--light-border: #181715;
|
|
--dark-text: #ffffff;
|
|
--dark-bg: #181715;
|
|
--dark-border: #ffffff;
|
|
|
|
--hightlight: #72dec2;
|
|
|
|
--border: var(--light-border);
|
|
--text: var(--light-text);
|
|
--bg: var(--light-bg);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Iosevka";
|
|
src: url('/font/iosevka-regular.woff') format('woff');
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
}
|
|
|
|
body {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 5rem 1fr 5rem;
|
|
grid-column-gap: 0px;
|
|
grid-row-gap: 0px;
|
|
font-family: 'Iosevka';
|
|
}
|
|
|
|
header,
|
|
footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 3rem;
|
|
}
|
|
|
|
header {
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
footer {
|
|
grid-area: 3 / 1 / 4 / 2;
|
|
border-top: 2px solid var(--border);
|
|
}
|
|
|
|
#main {
|
|
grid-area: 2 / 1 / 3 / 2;
|
|
padding: 3rem 3rem 3rem 3rem;
|
|
font-size: 1.3rem;
|
|
line-height: 2rem;
|
|
max-width: 120ch;
|
|
overflow: auto;
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
}
|
|
|
|
#main a {
|
|
position: relative;
|
|
top: 0.2rem;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
background-color: var(--hightlight);
|
|
text-decoration: line-through var(--text);
|
|
}
|
|
|
|
.logo {
|
|
font-size: 3rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.account,
|
|
.sections,
|
|
#sections-menu {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
#mesh {
|
|
position: absolute;
|
|
bottom: 5rem;
|
|
right: 0;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media screen and (max-height: 860px),
|
|
screen and (max-width: 1500px) {
|
|
#mesh {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1160px) {
|
|
.sections {
|
|
display: none;
|
|
}
|
|
|
|
#sections-button {
|
|
display: block !important;
|
|
}
|
|
}
|
|
|
|
#sections-button {
|
|
display: none;
|
|
}
|
|
|
|
#sections-menu a {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#sections-menu {
|
|
border: 2px solid var(--border);
|
|
background-color: var(--bg);
|
|
position: absolute;
|
|
bottom: calc(5rem - 2px);
|
|
left: 0;
|
|
align-items: center;
|
|
padding: 2rem 3rem;
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
.copyleft a,
|
|
.sections a {
|
|
margin: 0 1rem 0 0;
|
|
}
|
|
|
|
.copyleft a:hover,
|
|
.copyleft a:focus {
|
|
background-color: var(--bg);
|
|
}
|
|
|
|
.copyleft {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
button {
|
|
font-style: italic;
|
|
font-weight: lighter;
|
|
border: none;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
margin: 0 2rem 0 0;
|
|
} |