SandpointsTheme/static/css/newsite.css
2025-04-05 16:12:54 +02:00

243 lines
4.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

html,
body,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr {
margin: 0;
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
font-weight: normal;
}
ul {
list-style: none;
}
button,
input,
select,
textarea {
margin: 0;
}
html {
box-sizing: border-box;
}
img,
video {
height: auto;
max-width: 100%;
}
iframe {
border: 0;
}
strong del {
/* font-weight: normal; */
display: inline;
text-decoration: none;
margin-left: 1rem;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
table {
border-collapse: collapse;
border-spacing: 0;
background-color: #fff9f9;
border-left: 1px red solid;
margin-left: 1rem;
}
td,
th {
padding: 0;
vertical-align: top;
padding-right: 1rem;
padding-left: 1rem;
padding-bottom: 0.5rem;
}
td:not([align]),
th:not([align]) {
text-align: left;
}
@font-face {
font-family: "Gentium Plus";
font-style: normal;
src:
url("../fonts/GentiumPlus-R.woff"),
url("../fonts/GentiumPlus-R.woff") format("woff");
}
@font-face {
font-family: "Gentium Plus";
font-style: italic;
src:
url("../fonts/GentiumPlus-I.woff"),
url("../fonts/GentiumPlus-I.woff") format("woff");
}
@font-face {
font-family: "Great Vibes";
font-style: normal;
font-weight: 400;
src: url("../fonts/great-vibes-v7-latin-ext_latin-regular.eot");
/* IE9 Compat Modes */
src:
local("Great Vibes"),
local("GreatVibes-Regular"),
url("../fonts/great-vibes-v7-latin-ext_latin-regular.eot?#iefix")
format("embedded-opentype"),
/* IE6-IE8 */
url("../fonts/great-vibes-v7-latin-ext_latin-regular.woff2")
format("woff2"),
/* Super Modern Browsers */
url("../fonts/great-vibes-v7-latin-ext_latin-regular.woff")
format("woff"),
/* Modern Browsers */
url("../fonts/great-vibes-v7-latin-ext_latin-regular.ttf")
format("truetype"),
/* Safari, Android, iOS */
url("../fonts/great-vibes-v7-latin-ext_latin-regular.svg#GreatVibes")
format("svg");
/* Legacy iOS */
}
@font-face {
font-family: "Antinoou";
font-style: normal;
src:
url("../fonts/Antinoou.ttf"),
url("../fonts/Antinoou.ttf") format("truetype");
unicode-range:
U+2C80 U + 2CFF,
U+0370 U + 03FF,
U+102E0 U + 102FF;
}
@font-face {
font-family: "Antinoou";
font-style: italic;
src:
url("../fonts/AntinoouItalic.ttf"),
url("../fonts/AntinoouItalic.ttf") format("truetype");
unicode-range:
U+2C80 U + 2CFF,
U+0370 U + 03FF,
U+102E0 U + 102FF;
}
html {
line-height: 1.5;
}
body {
font-family: "Gentium Plus", "Antinoou", serif;
max-width: 1024px;
font-size: 1.4rem;
padding-left: 3rem;
padding-top: 0.5rem;
padding-right: 2rem;
color: black;
}
header {
display: grid;
grid-template-columns: auto;
grid-auto-flow: column;
position: sticky;
top: 0;
padding-top: 0.5rem;
font-size: 1.1rem;
background-color: white;
z-index: 10;
}
.breadcrumbs {
grid-column: 1;
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
}
.breadcrumbs li {
display: inline;
}
.breadcrumbs li + li::before {
content: "»";
margin: 0 0.1em;
color: #666;
}
.bibliotheke {
width: 2.4rem;
grid-column: 2;
margin-left: auto;
}
.bibliotheke:hover {
text-decoration: none;
font-size: 1rem;
}
.content {
margin-top: 4rem;
padding-left: 3rem;
padding-right: 10rem;
max-width: 720px;
}
.page-menu {
padding-left: 3rem;
margin-bottom: 2rem;
display: grid;
grid-template-columns: 1fr 1fr;
}
.toc {
grid-column: 1;
padding-right: 1.2rem;
position: relative;
}
#TableOfContents {
margin-left: -2rem;
margin-top: -1.5rem;
}
#TableOfContents li {
list-style: decimal inside;
padding-left: 0.5rem;
color: rgba(0, 0, 0, 0.4);
margin: 0;
padding: 0;
}
#TableOfContents li a {
font-family: "Gentium Plus";
font-size: 1.4rem;
font-weight: bold;
}