-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
121 lines (120 loc) · 2.37 KB
/
style.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
:root {
--pico-font-size: 17px;
}
html {
display: grid;
height: 100%;
grid-template-rows: 100%;
}
body {
display: inherit;
grid-template-rows: auto auto 1fr auto;
}
h1 {
font-style: normal;
font-weight: 700;
font-size: 50px;
font-family: 'Montserrat', sans-serif;
line-height: 56px;
text-transform: none;
letter-spacing: -2px;
color: #505050;
white-space: nowrap;
}
@media only screen and (prefers-color-scheme: dark) {
h1 {
color:#fff;
}
}
h1 span {
font-size: 70px;
vertical-align: middle;
}
h1 span:first-child {
letter-spacing: -14px;
}
h1 span:nth-child(2) {
position: relative;
letter-spacing: -15px;
z-index: 1;
}
h1 span:nth-child(3) {
color: #c39f76;
filter: blur(2px);
}
h1 span:nth-child(2):before {
content: "";
position: absolute;
top: 10px;
height: 28px;
border-left: 1.5px solid var(--pico-background-color);
border-top: 1.5px solid var(--pico-background-color);
width: 44px;
left: 2px;
border-top-left-radius: 41px 24px;
}
h1 span:nth-child(2):after {
content: "";
position: absolute;
bottom: 0;
left: 4.5px;
height: 37px;
border-left: 1.5px solid var(--pico-background-color);
z-index: 5;
}
body header h1 + p {
text-indent: 130px;
margin-top: -22px;
font-size: 15px;
}
body>header, body>main {
padding: 0;
}
body header,
body footer {
text-align: center;
margin-bottom: 5px;
}
body main.grid {
margin: 0 auto 50px;
grid-gap: calc(1.5*var(--pico-grid-column-gap));
align-content: start;
max-width: 1200px;
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(3,minmax(0%,1fr));
}
}
body header > * {
margin: 5px;
}
article {
aspect-ratio: 2;
position: relative;
background: center/cover no-repeat;
margin: 0;
overflow: hidden;
}
article a {
position: absolute;
inset: 0;
display: flex;
align-items: flex-end;
padding: 10px 20px;
font-size: 20px;
text-decoration: none;
background: linear-gradient(0deg,#fffd 2.5em,#0000 0);
font-weight: bold;
}
.chrome:before {
content: "Chrome Only";
position: absolute;
inset: 0 0 auto auto;
transform-origin: 0 0;
transform: translate(29.3%) rotate(45deg);
background: #08769b;
border-image:conic-gradient(#08769b 0 0) fill 0//0 100vw;
color: #fff;
font-size: 13px;
}