qwik-site/assets/css/theme.css

178 lines
2.3 KiB
CSS
Raw Normal View History

2021-08-09 17:44:53 +02:00
* {
margin: 0;
padding: 0;
border: 0 none transparent;
box-sizing: border-box;
scroll-behavior: smooth;
2021-08-09 18:47:12 +02:00
font-family: 'Manrope Regular', sans-serif;
2021-08-09 17:44:53 +02:00
font-size: .85rem;
line-height: 1.5;
2022-05-01 18:47:13 +02:00
color: inherit;
2021-08-09 17:44:53 +02:00
}
html {
display: grid;
place-items: center;
width: 100%;
background-color: var(--surface);
}
body {
margin: 5vh 0 10vh 0;
2021-08-10 21:33:10 +02:00
width: min(90vw, 75ch);
2022-05-01 18:47:13 +02:00
color: var(--text);
2021-08-09 17:44:53 +02:00
}
header {
color: var(--primary);
font-size: 3rem;
text-align: center;
}
2022-05-01 18:47:13 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
2021-08-09 17:44:53 +02:00
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;
2021-08-10 22:13:33 +02:00
overflow-wrap: break-word;
2021-08-09 17:44:53 +02:00
}
a {
color: var(--accent2);
}
2022-05-01 18:47:13 +02:00
b,
strong {
2021-08-10 11:07:57 +02:00
font-family: 'Manrope SemiBold', sans-serif;
2021-08-09 23:04:20 +02:00
font-weight: bold;
}
2021-08-09 18:47:12 +02:00
.centered {
text-align: center;
}
2021-08-09 17:44:53 +02:00
blockquote {
margin: 1rem;
padding: .5rem 1rem;
border-left: .2rem solid var(--primary);
2021-08-10 22:52:44 +02:00
border-radius: 0 .5rem .5rem 0;
2021-08-09 17:44:53 +02:00
background-color: var(--grey3);
2021-08-10 22:52:44 +02:00
box-shadow: 0 1rem 2rem var(--grey1);
2021-08-09 17:44:53 +02:00
}
2022-05-01 18:47:13 +02:00
ul,
ol {
2021-08-09 17:44:53 +02:00
margin: 1rem 0 1rem 2rem;
}
2022-05-01 18:47:13 +02:00
ul ul,
ul ol,
ol ol,
ol ul {
2021-08-09 17:44:53 +02:00
margin: .25rem 0 .25rem 1rem;
}
table {
2021-08-10 22:49:20 +02:00
margin: 1rem 0;
2021-08-09 17:44:53 +02:00
width: 100%;
2021-08-10 22:49:20 +02:00
display: block;
2021-08-09 17:44:53 +02:00
overflow-x: auto;
white-space: nowrap;
2021-08-10 22:49:20 +02:00
2021-08-09 17:44:53 +02:00
border-collapse: collapse;
2021-08-10 22:49:20 +02:00
box-shadow: 0 1rem 2rem var(--grey1);
2021-08-09 17:44:53 +02:00
}
table tbody {
display: table;
width: 100%;
}
tr {
background-color: var(--grey3);
}
tr:nth-child(even) {
2021-08-10 22:49:20 +02:00
background-color: var(--grey2);
2021-08-09 17:44:53 +02:00
}
th {
2021-08-10 22:49:20 +02:00
font-family: 'Manrope SemiBold';
2021-08-09 17:44:53 +02:00
}
2022-05-01 18:47:13 +02:00
th,
td {
2021-08-09 17:44:53 +02:00
text-align: left;
2021-08-10 22:49:20 +02:00
vertical-align: middle;
2021-08-09 17:44:53 +02:00
padding: .25rem 1rem;
2021-08-10 22:49:20 +02:00
border: 1px solid var(--grey4);
2021-08-09 17:44:53 +02:00
}
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 {
2021-08-09 18:47:12 +02:00
margin: 1rem 5%;
2021-08-09 17:44:53 +02:00
border-radius: .5rem;
box-shadow: 0 1rem 2rem var(--grey1);
2022-05-01 18:47:13 +02:00
}