qwik-site-bubben/assets/css/theme.css

196 lines
3.2 KiB
CSS

* {
margin: 0;
padding: 0;
border: 0 none transparent;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: 'Manrope Regular', sans-serif;
font-size: .85rem;
line-height: 1.5;
color: inherit;
}
html {
display: grid;
place-items: center;
width: 100%;
/* ----------------------------------------------------------------------------------
* Background generated with: https://www.magicpattern.design/tools/css-backgrounds
*/
background-color: var(--surface);
opacity: 1;
background: radial-gradient(circle, transparent 20%, var(--surface) 20%, var(--surface) 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, var(--surface) 20%, var(--surface) 80%, transparent 80%, transparent) 2.5rem 2.5rem, linear-gradient(var(--grey3) .2rem, transparent .2rem) 0 -.1rem, linear-gradient(90deg, var(--grey3) .2rem, var(--surface) .2rem) -.1rem 0;
background-size: 5rem 5rem, 5rem 5rem, 2.5rem 2.5rem, 2.5rem 2.5rem;
}
body {
margin: 5vh 0 10vh 0;
width: min(90vw, 75ch);
color: var(--text);
}
#header {
color: var(--primary);
font-size: 3rem;
text-align: center;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--accent);
font-weight: normal;
margin: 1.25em 0 .25em 0;
}
h1 {
color: var(--primary);
font-size: 2rem;
}
h2 {
font-size: 1.65rem;
}
h3 {
font-size: 1.35rem;
}
h4 {
font-size: 1rem;
}
h5 {
font-size: .85rem;
}
h6 {
font-size: .75rem;
}
p {
margin: .5em 0 .25em 0;
overflow-wrap: break-word;
}
a {
color: var(--accent2);
font-size: inherit;
}
b,
strong {
font-family: 'Manrope SemiBold', sans-serif;
font-weight: bold;
font-size: inherit;
font-style: inherit;
}
i,
em {
font-family: inherit;
font-weight: inherit;
font-style: italic;
font-size: inherit;
}
.centered {
text-align: center;
}
blockquote {
margin: 1rem;
padding: .5rem 1rem;
border-left: .2rem solid var(--primary);
border-radius: 0 .5rem .5rem 0;
background-color: var(--grey3);
box-shadow: 0 1rem 2rem var(--grey1);
}
ul,
ol {
margin: 1rem 0 1rem 2rem;
}
ul ul,
ul ol,
ol ol,
ol ul {
margin: .25rem 0 .25rem 1rem;
}
table {
margin: 1rem 0;
width: 100%;
display: block;
overflow-x: auto;
white-space: nowrap;
border-collapse: collapse;
box-shadow: 0 1rem 2rem var(--grey1);
}
table tbody {
display: table;
width: 100%;
}
tr {
background-color: var(--grey3);
}
tr:nth-child(even) {
background-color: var(--grey2);
}
th {
font-family: 'Manrope SemiBold';
}
th,
td {
text-align: left;
vertical-align: middle;
padding: .25rem 1rem;
border: 1px solid var(--grey4);
}
code {
background-color: var(--grey3);
font-family: monospace;
padding: .1rem .2rem;
margin: 0 .1rem;
border-radius: .2rem;
}
pre > code {
margin: 1rem 0;
padding: 1rem;
border-radius: .5rem;
box-shadow: 0 1rem 2rem var(--grey1);
display: block;
overflow-x: auto;
white-space: nowrap;
}
code * {
font-family: monospace;
}
img {
margin: 1rem 5%;
border-radius: .5rem;
box-shadow: 0 1rem 2rem var(--grey1);
}