This repository has been archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
style.scss
124 lines (103 loc) · 1.89 KB
/
style.scss
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
body {
font-family:"IBM Plex Mono";
color:#fff;
margin:0;
background:url('./images/bg.jpeg');
background-size:cover;
background-position:center;
&.clean {
background:url('./images/bg-new.jpg');
}
}
a {
color:#fff;
font-weight:400;
text-decoration:none;
&:hover {
color:#32ca76;
}
}
.btn {
color:#000;
background-color:#32ca76;
border-radius:2px;
border:2px solid #000;
text-transform: uppercase;
font-size:1.2rem;
padding:12px 20px;
transition:background-color 0.2s;
&:hover {
color:#000;
}
&.sent {
color:black;
}
}
.container {
max-width:1280px;
margin:0 auto;
}
.header {
padding:15px 0;
position:relative;
z-index:1;
>.container {
display:flex;
align-items:center;
div {
flex:1;
}
}
.btn {
text-align:center;
}
}
img {
max-width:100%;
}
.polluter {
display:flex;
align-items:center;
justify-content: space-around;
position:absolute;
width:100%;
top:50%;
transform:translateY(-50%);
flex-wrap:wrap;
&__button {
max-width:320px;
padding:15px;
&.sent {
background:black;
}
.btn {
&:hover {
background-color:red;
}
&.polluting {
background-color:red;
}
}
}
pre {
position:relative;
margin-left:50%;
transform:translateX(-50%);
flex:0 0 500px;
}
&__spin {
animation-name: spin;
animation-duration: 5000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
max-width:200px;
}
}
@keyframes spin {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}