aboutsummaryrefslogtreecommitdiff
path: root/style.css
blob: cf88c9261783f587382d62bfee12fc3aacfffeda (plain)
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
* { box-sizing: border-box; }

body {
    font: 16px/1.6 "Avenir", "Helvetica", Arial, sans-serif;
    padding: 0;
    margin: 0;
}
main, .container {
    padding: 1rem;
    margin: 0 auto;
    max-width: 75ch;
}
header, footer {
    background-color: #f9f9f9;
    padding: 2rem 0;
}
footer {
    padding-bottom: 6rem;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 900;
}
h1 {
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="lightgrey" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat calc(100% - 1.5rem) center;
    border: 1px solid lightgrey;
    padding: 0.5rem 1.5rem;
    font-size: 3rem;
}
h2 {
    margin: 3rem 0 2rem;
}
p.multi {
    column-count: 2;
    column-gap: 2rem;
}
.center { text-align: center; }
a,a:visited {
    color: #002CFC;
}
a:hover {
    color: rebeccapurple;
}
img {
    border: 1px solid lightgrey;
    width: 100%;
}
.img {
    left: -25%;
    margin: 2rem 0 4rem;
    position: relative;
    width: 150%;
}
.img:before {
    bottom: -10px;
    background: black;
    opacity: 0.2;
    content:'';
    filter: blur(10px);
    height: 50%;
    left: 1%;
    position: absolute;
    width: 98%;
    z-index: -1;
}

/* Blinking Cursor */
.blinking-cursor {
font-weight: 100;
line-height: 0.5;
color: #2E3D48;
position: relative;
top: -5px;
user-select: none;
-webkit-animation: 1s blink step-end infinite;
-moz-animation: 1s blink step-end infinite;
-ms-animation: 1s blink step-end infinite;
-o-animation: 1s blink step-end infinite;
animation: 1s blink step-end infinite;
}

@keyframes "blink" {
from, to {
    color: transparent;
}
50% {
    color: black;
}
}

@-moz-keyframes blink {
from, to {
    color: transparent;
}
50% {
    color: black;
}
}

@-webkit-keyframes "blink" {
from, to {
    color: transparent;
}
50% {
    color: black;
}
}

@-ms-keyframes "blink" {
from, to {
    color: transparent;
}
50% {
    color: black;
}
}

@-o-keyframes "blink" {
from, to {
    color: transparent;
}
50% {
    color: black;
}
}

@media(max-width:1000px) {
    h1 {
        font-size: 2rem;
        line-height: 3rem;
        padding: 0.5rem 1rem;
    }
    .blinking-cursor {
        top: -3px;
    }
    .img {
        left: 0;
        width: 100%;
    }
}
@media(max-width:500px) {
    h1 {
        background-size: 20px;
        font-size: 1.4rem;
        padding: 0.5rem 3rem 0.5rem 1rem;
    }
    p.multi {
        column-count: 1;
        column-gap: 0;
    }
}
@media(max-width:320px) {
    h1 {
        background-size: 20px;
        font-size: 1.2rem;
        padding: 0.5rem 3rem 0.5rem 1rem;
    }
}