mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-22 15:34:50 +01:00
248 lines
3.3 KiB
SCSS
248 lines
3.3 KiB
SCSS
:root.dark {
|
|
.lightOnly {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
:root.light {
|
|
.darkOnly {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
::-moz-selection, ::selection {
|
|
color: var(--bgColor);
|
|
background: var(--fgColor);
|
|
}
|
|
|
|
html {
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
font-size: 62.5%;
|
|
scrollbar-color: var(--metaColor) var(--bgColor);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
body {
|
|
font-family: monospace;
|
|
font-size: 1.6rem;
|
|
line-height: 1.35;
|
|
max-width: 50%;
|
|
margin: auto;
|
|
overflow-wrap: break-word;
|
|
background: var(--bgColor);
|
|
color: var(--fgColor);
|
|
text-align: justify;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.4rem;
|
|
color: var(--bgColor);
|
|
background-color: var(--metaColor);
|
|
text-align: center;
|
|
}
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
text-align: left;
|
|
|
|
&::before {
|
|
color: var(--metaColor);
|
|
content: '# ';
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
padding: 0 .2rem 0 .2rem;
|
|
border-radius: .3rem;
|
|
color: var(--linkColor);
|
|
|
|
&:focus , &:hover {
|
|
background-color: var(--linkColor);
|
|
color: var(--bgColor);
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
margin-top: .5rem;
|
|
margin-bottom: .5rem;
|
|
|
|
li::marker {
|
|
content: '» ';
|
|
color: var(--metaColor);
|
|
}
|
|
|
|
li:hover::marker {
|
|
content: '# ';
|
|
font-weight: 700;
|
|
color: var(--linkColor);
|
|
}
|
|
}
|
|
|
|
li {
|
|
margin-bottom: .25rem;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: .5rem solid var(--metaColor);
|
|
margin: 1rem;
|
|
padding: 0 0 0 1rem;
|
|
}
|
|
|
|
textarea {
|
|
border: 2px dotted;
|
|
outline: 0;
|
|
resize: none;
|
|
overflow: auto;
|
|
background-color: var(--bgColor);
|
|
color: var(--metaColor);
|
|
}
|
|
|
|
hr {
|
|
border: 1px dashed;
|
|
color: var(--metaColor);
|
|
}
|
|
|
|
img {
|
|
max-width: 90%;
|
|
height: auto;
|
|
margin: .2rem;
|
|
padding: .2rem;
|
|
border: dashed .2rem var(--metaColor);
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.inverted {
|
|
-webkit-filter: invert(1);
|
|
filter: invert(1);
|
|
}
|
|
|
|
iframe {
|
|
max-width: 90%;
|
|
}
|
|
|
|
footer {
|
|
text-align: left;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.metaData, .themeButton {
|
|
color: var(--metaColor);
|
|
}
|
|
|
|
/* Site Specific Styling */
|
|
.wrapper {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
grid-template-columns: minmax(180px, 1fr);
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* Icons settings */
|
|
.icons {
|
|
width: 2.0rem;
|
|
height: 2.0rem;
|
|
aspect-ratio: 1/1;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
color: var(--fgColor);
|
|
background-color: transparent;
|
|
|
|
&__background:hover, &__background:focus {
|
|
color: var(--linkColor);
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.tagsData {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
align-items: flex-start;
|
|
align-content: flex-end
|
|
}
|
|
|
|
.titleList li {
|
|
margin-bottom: .75rem;
|
|
text-align: left;
|
|
|
|
span.contentDate {
|
|
color: var(--dateLinkColor);
|
|
}
|
|
}
|
|
|
|
.footnote-definition {
|
|
margin: 0 0 0 2rem;
|
|
|
|
&-label {
|
|
color: var(--metaColor);
|
|
}
|
|
|
|
p {
|
|
display: inline;
|
|
padding: 0 0 0 1rem;
|
|
}
|
|
}
|
|
|
|
.footContainer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.noStyle {
|
|
padding: 0;
|
|
margin: 0;
|
|
border: none;
|
|
border-radius: 0
|
|
}
|
|
|
|
.textCenter {
|
|
text-align: center;
|
|
}
|
|
|
|
.floatRight {
|
|
float: right
|
|
}
|
|
|
|
.floatLeft {
|
|
float: left
|
|
}
|
|
|
|
.webring {
|
|
margin: 0.5rem;
|
|
}
|
|
|
|
div.toc {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
/* Add Padding */
|
|
@media (max-width: 650px) {
|
|
body {
|
|
max-width: 100%;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
}
|
|
|
|
a span.contentDate {
|
|
display: none;
|
|
}
|
|
|
|
.wrapper {
|
|
margin: 1rem;
|
|
}
|
|
|
|
.footContainer {
|
|
justify-content: center;
|
|
}
|
|
}
|