werc-1.5.0-tweaks/pub/style/style.css

128 lines
2.1 KiB
CSS
Raw Normal View History

2022-04-07 14:48:37 +00:00
/* latin-ext */
@font-face {
font-family: 'Source Serif Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://nunosempere.com/.resources/source-serif-pro-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Serif Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://nunosempere.com/.resources/source-serif-pro-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
2022-04-12 02:15:09 +00:00
2022-03-10 07:22:29 +00:00
body {
display: flex;
flex-wrap: wrap;
2022-04-12 02:15:09 +00:00
font-family: serif;
/* font-family: 'Source Serif Pro', serif; */
2022-04-07 15:09:37 +00:00
font-size: 1.5em;
2022-03-10 07:22:29 +00:00
}
header {
flex-basis: 100%;
flex-shrink: 0;
}
2022-04-12 02:15:09 +00:00
/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 600px) {
body {
font-size: 1em;
}
.hidden-mobile {
display: none;
}
}
2022-03-10 07:22:29 +00:00
article {
flex-basis: 60%;
padding-left: 1em;
}
footer {
flex-basis: 100%;
flex-shrink: 0;
}
header nav {
display: flex;
justify-content: space-between;
}
nav a,
header a {
text-decoration: none;
color: inherit;
}
header h1 span {
2022-03-10 07:26:13 +00:00
margin-left: 0em;
2022-04-07 15:09:37 +00:00
font-size: 70%;
2022-03-10 07:22:29 +00:00
font-style: italic;
}
body>nav {
flex-basis: content;
padding-right: 1vw;
min-width: 16em;
}
nav ul {
display: flex;
flex-direction: column;
list-style-type: none;
list-style-position: outside;
padding-left: 0;
}
nav li ul {
padding-left: 0.6em
}
footer {
2022-03-15 18:58:38 +00:00
margin-top: 2em;
2022-03-10 07:22:29 +00:00
display: flex;
justify-content: space-between;
}
2022-03-15 18:58:38 +00:00
figure figcaption {
display: block;
margin-left: auto;
margin-right: auto;
}
figcaption {
text-align: center;
2022-04-07 15:09:37 +00:00
font-size: 12px;
2022-03-15 18:58:38 +00:00
}
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}
.img-frontpage-center {
display: block;
margin-left: auto;
margin-right: auto;
2022-04-12 02:15:09 +00:00
width: 300px;
}
.img-medium-center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}