-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (127 loc) · 2.74 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
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
* {
box-sizing: border-box;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'Dosis', sans-serif;
line-height: 1.6;
color: #666;
}
body {
background-color: var(--bg-color);
font-family: 'Dosis', sans-serif;
}
footer {
color: var(--light-color);
}
label {
color: var(--highlight-color);
}
.container form div input {
width: 300px;
}
#root {
max-width: 1200px;
margin: 0 auto;
}
h1 {
text-align: center;
padding: 1.5rem 2.5rem;
background-image: linear-gradient(120deg, #fbc2eb 0%, #a6c1ee 100%);
margin: 0 0 2rem 0;
font-size: 1.5rem;
color: white;
}
img {
display: block;
margin: 1rem auto;
max-width: 100%;
}
p {
padding: 0 2.5rem 2.5rem;
margin: 0;
}
.container {
display: flex;
flex-wrap: wrap;
}
.buttons .card {
background-color: var(--button-color);
}
.card {
margin: 1rem;
background-color: var(--light-color);
border-radius: 12px;
overflow: hidden;
transition: all .2s linear;
color: var(--heading-color);
}
.card:hover {
box-shadow: 2px 8px 45px rgba(0, 0, 0, .15);
transform: translate3D(0, -2px, 0);
background-color: white;
}
iframe {
border-width: 0;
height: 110px;
text-align: center;
}
.footer iframe {
width: 240px;
}
.header{
text-align: right;
padding-right: 10px;
padding-top: 10px;
}
.footer {
text-align: center;
}
/* header img {
float: right;
} */
@media screen and (min-width: 600px) {
.card {
flex: 1 1 calc(50% - 2rem);
}
}
@media screen and (min-width: 900px) {
.card {
flex: 1 1 calc(33% - 2rem);
}
}
/* .card:nth-child(2n) h1 {
background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}
.card:nth-child(4n) h1 {
background-image: linear-gradient(120deg, #ff9a9e 0%, #fecfef 100%);
}
.card:nth-child(5n) h1 {
background-image: linear-gradient(120deg, #ffc3a0 0%, #ffafbd 100%);
} */
.card:nth-child(n) h1 {
background-image: linear-gradient(120deg, var(--highlight-color) 0%, var(--highlight-color) 100%);
}
.card:nth-child(2n) h1 {
background-image: linear-gradient(120deg, var(--highlight-color) 0%, var(--highlight-color) 100%);
}
.card:nth-child(3n) h1 {
background-image: linear-gradient(120deg, var(--highlight-color) 0%, var(--highlight-color) 100%);
}
.card:nth-child(4n) h1 {
background-image: linear-gradient(120deg, var(--button-color) 0%, var(--button-color) 100%);
}
.card:nth-child(5n) h1 {
background-image: linear-gradient(120deg, var(--button-color) 0%, var(--button-color) 100%);
}
.card:nth-child(6n) h1 {
background-image: linear-gradient(120deg, var(--button-color) 0%, var(--button-color) 100%);
}
:root {
--bg-color: #0d3d56;
--light-color: #E9E9E9;
--heading-color: #222930;
--button-color: #1496BB;
--highlight-color: #a3b86c;
}