michalvankodev-site/static/global.css

150 lines
2.0 KiB
CSS
Raw Normal View History

2019-09-10 21:23:50 +02:00
html {
2019-11-04 20:19:21 +01:00
scroll-behavior: smooth;
2019-09-10 21:23:50 +02:00
}
2019-07-12 09:49:03 +02:00
body {
2019-11-04 20:19:21 +01:00
margin: 0;
font-family: Cantarell, Roboto, -apple-system, BlinkMacSystemFont, Segoe UI,
Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-size: 16px;
2020-02-28 17:08:51 +01:00
line-height: 1.65;
2019-11-04 20:19:21 +01:00
color: #42436a;
2019-12-26 08:37:15 +01:00
background: #f2f6f6;
2019-12-29 23:30:56 +01:00
min-height: 1vh;
2019-07-12 09:49:03 +02:00
}
2019-11-04 20:19:21 +01:00
h1,
h2,
h3,
h4,
h5,
h6 {
2020-02-28 17:08:51 +01:00
margin: 1em 0 0.5em 0;
2019-11-04 20:19:21 +01:00
font-weight: 200;
line-height: 1.2;
text-shadow: 1px 1px 1px #c6c4b7;
color: #212138;
letter-spacing: -0.01em;
2019-07-12 09:49:03 +02:00
}
h1 {
2019-11-04 20:19:21 +01:00
font-size: 2.5em;
2019-09-15 22:48:03 +02:00
}
h2 {
2019-11-04 20:19:21 +01:00
font-size: 1.7em;
2019-09-15 22:48:03 +02:00
}
h3 {
2019-11-04 20:19:21 +01:00
font-size: 1.5em;
2019-09-15 22:48:03 +02:00
}
h4 {
2019-11-04 20:19:21 +01:00
font-size: 1.3em;
2019-07-12 09:49:03 +02:00
}
a {
2019-11-04 20:19:21 +01:00
color: #2e2ed9;
text-decoration: none;
transition: 0.2s;
2019-07-12 09:49:03 +02:00
}
2019-09-15 22:48:03 +02:00
a:visited {
2019-11-04 20:19:21 +01:00
color: #9a2ed9;
2019-09-15 22:48:03 +02:00
}
a:hover {
2019-11-04 20:19:21 +01:00
color: #2e86d9;
text-decoration: underline;
2019-09-15 22:48:03 +02:00
}
2019-12-28 21:43:06 +01:00
code,
pre {
font-family: menlo, inconsolata, monospace;
font-size: 0.92em;
2020-09-26 15:08:17 +02:00
line-height: 1.24em;
2019-12-28 21:43:06 +01:00
background-color: #f0f0f0;
padding: 0.2em 0.4em;
color: #464646;
text-shadow: 0 1px white;
text-align: left;
2021-04-24 19:30:36 +02:00
white-space: pre-wrap;
2019-12-28 21:43:06 +01:00
word-spacing: normal;
word-break: normal;
word-wrap: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
2021-04-21 18:41:00 +02:00
figure {
margin: 1em 0.5em;
2021-04-21 19:16:24 +02:00
text-align: center;
2021-04-21 18:41:00 +02:00
}
figcaption {
font-size: 0.7em;
font-style: italic;
}
2020-08-05 17:49:17 +02:00
blockquote {
margin: 0.2em;
border-left: 2px solid #2d3935;
padding: 0 0.4em 0 0.8em;
background: #eaefef;
border-radius: 3px;
box-shadow: 1px 1px 2px #d4dbdb;
}
2019-09-15 22:48:03 +02:00
p {
2020-02-28 17:08:51 +01:00
margin: 0.8em 0;
2019-09-15 22:48:03 +02:00
}
2019-11-04 20:19:21 +01:00
.tearkiss {
2020-12-01 15:01:32 +01:00
color: #16d0e7;
}
.tearkiss-new {
color: #16d0e7;
2019-11-04 20:19:21 +01:00
}
2019-09-15 22:48:03 +02:00
::selection {
2019-11-10 21:37:50 +01:00
background: #0dd0d0;
2019-09-15 22:48:03 +02:00
}
2020-01-17 08:14:10 +01:00
.navigation-theme {
background: #2d3935;
color: #eae9be;
}
.navigation-theme a {
color: #eae9be;
}
.navigation-theme a:hover {
color: #faf9d6;
}
2019-09-15 22:48:03 +02:00
@media only screen and (min-width: 400px) {
2019-11-04 20:19:21 +01:00
body {
font-size: 18px;
}
2019-09-15 22:48:03 +02:00
}
@media only screen and (min-width: 700px) {
2019-11-04 20:19:21 +01:00
body {
font-size: 24px;
}
2020-09-26 15:08:17 +02:00
code,
pre {
font-size: 0.8em;
}
2019-09-15 22:48:03 +02:00
}