michalvankodev-site/static/global.css

121 lines
1.6 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;
background-color: #f0f0f0;
padding: 0.2em 0.4em;
color: #464646;
text-shadow: 0 1px white;
text-align: left;
white-space: pre;
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;
}
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 {
color: #25b5c5;
}
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;
}
2019-09-15 22:48:03 +02:00
}