This repository has been archived by the owner on Sep 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
118 lines (112 loc) · 2.33 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400&display=swap');
@keyframes show-content {
from {
opacity: 0;
transform: scale(.95);
} to {
opacity: 1;
transform: unset;
}
}
html, body {
margin: 0;
padding: 0;
background-color: black;
color: white;
}
body {
display: flex;
flex-direction: row;
font-family: "Inter";
}
* {
transition: 250ms;
}
body * {
animation: show-content 800ms ease-out forwards;
}
@media (prefers-reduced-motion) {
*, body * {
transition: 0s;
animation-duration: 0s;
}
}
img, iframe {
display: block;
border: none;
object-fit: cover;
max-width: 100vw;
}
img:hover {
object-fit: contain;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 24px;
gap: 4px;
}
article, address {
max-width: 80ch;
font-weight: 300;
text-align: justify;
}
input {
padding: 7px 14px;
background: radial-gradient(100% 100% at 100% 100%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%), linear-gradient(180deg, #444444 0%, #222222 100%);
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
border-radius: 2px;
color: whitesmoke;
border: none !important;
outline: none !important;
cursor: pointer;
}
input:hover {
background: linear-gradient(0deg, rgba(204, 204, 204, 0.15), rgba(204, 204, 204, 0.15)), radial-gradient(100% 100% at 100% 100%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%), linear-gradient(180deg, #444444 0%, #222222 100%);
}
input:active, input:focus {
background: radial-gradient(100% 100% at 100% 100%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(180deg, #444444 0%, #222222 100%);
}
input:invalid {
outline: solid darkred 2px !important;
}
input:valid {
animation: becomes-valid 250ms ease-out;
}
@keyframes becomes-valid {
0% {
outline: solid darkred 2px !important;
} 50% {
outline: solid green 2px !important;
} 100% {
outline: unset;
}
}
a {
color: lightblue;
text-decoration: none;
}
a:hover {
text-shadow: 0px 0px 6px currentColor;
}
h1 {
font-weight: 300;
text-transform: uppercase;
letter-spacing: 2px;
}
@media only screen and (max-width: 780px) {
body {
flex-direction: column;
}
}
@media only screen and (min-width: 781px) {
img, iframe {
max-width: 65%;
height: 100vh;
}
main {
width: 100%;
}
}