-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.css
99 lines (85 loc) · 1.7 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@import 'highlight.js/styles/github.css';
@import 'style.css';
@import 'fraktur.css';
@import 'big-cursors.css';
:root {
--mono-font:
Menlo,
Monaco,
"Ubuntu Mono",
"Consolas",
"Lucida Console",
"Liberation Mono",
"DejaVu Sans Mono",
"Bitstream Vera Sans Mono",
"Courier New",
monospace,
serif;
--sans-font:
"Helvetica Neue",
Helvetica,
Arial,
"Lucida Grande",
sans-serif;
}
html {
background: #676767 url("./static/molecules.jpg") no-repeat bottom left;
background-attachment: fixed;
background-size: cover;
height: 100%;
}
body {
font-family: var(--mono-font);
background-color: transparent;
}
::selection {
background: hsla(60, 100%, 50%, 0.75); /* WebKit/Blink Browsers */
}
a {
color: #fff;
background-color: #000;
}
pre, code {
background-color: hsla(0, 0%, 97%, 0.26);
border-radius: 3px;
}
img {
display: block;
height: auto;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
.markdown-body {
background-color: hsla(360, 100%, 100%, 0.45);
padding-top: 2em;
padding-bottom: 1em;
/* animation: fadein 1s; */
transform: translateZ(-10px);
}
/* previously main styles */
.markdown-body {
max-width: 50em;
margin: 2em auto;
padding: 0 1em;
overflow: hidden;
word-wrap: break-word;
}
.markdown-body > *:first-child { margin-top: 0 !important; }
.markdown-body > *:last-child { margin-bottom: 0 !important; }
footer {
min-height: 1em;
}
.header-font {
font-family: 'Fraktur BT', var(--mono-font), sans-serif;
font-size: 6em;
}
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) {
.header-font {
font-size: 4.5em;
}
}