-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
145 lines (119 loc) · 2.29 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
:root {
--red: hsl(0, 78%, 62%);
--cyan: hsl(180, 62%, 55%);
--orange: hsl(34, 97%, 64%);
--blue: hsl(212, 86%, 64%);
--varyDarkBlue: hsl(234, 12%, 34%);
--grayishBlue: hsl(229, 6%, 66%);
--veryLightGray: hsl(0, 0%, 98%);
--weight1: 200;
--weight2: 400;
--weight3: 600;
}
body {
font-size: 15px;
font-family: 'Poppins', sans-serif;
background-color: var(--veryLightGray);
/* background: darkslateblue; */
}
a {
text-decoration: none;
border-color: black;
}
.attribution {
font-size: 11px; text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
h1:first-of-type {
font-weight: var(--weight1);
color: var(--varyDarkBlue);
}
h1:last-of-type {
color: var(--varyDarkBlue);
}
@media (max-width: 400px) {
h1 {
font-size: 1.5rem;
}
}
.header {
text-align: center;
line-height: 0.8;
margin-bottom: 50px;
margin-top: 100px;
}
.header p {
margin: 0 auto;
line-height: 2;
color: var(--grayishBlue);
}
.box p {
color: var(--grayishBlue);
}
.box {
border-radius: 5px;
box-shadow: 0px 30px 40px -20px var(--grayishBlue);
padding: 30px;
margin: 20px;
}
.box:hover {
text-decoration: none;
border-color: rgb(117, 115, 4);
transform: translate(1vw,1vh);
box-shadow: 0px 30px 40px -20px var(--grayishBlue);
background: rgba(0, 102, 255, 0.103);
}
img {
float: right;
}
@media (max-width: 450px) {
.box {
height: 200px;
}
}
@media (max-width: 950px) and (min-width: 450px) {
.box {
text-align: center;
height: 180px;
}
}
.cyan {
border-top: 3px solid var(--cyan);
}
.red {
border-top: 3px solid var(--red);
}
.blue {
border-top: 3px solid var(--blue);
}
.orange {
border-top: 3px solid var(--orange);
}
h2 {
color: var(--varyDarkBlue);
font-weight: var(--weight3);
}
@media (min-width: 950px) {
.row1-container {
display: flex;
justify-content: center;
align-items: center;
}
.row2-container {
display: flex;
justify-content: center;
align-items: center;
}
.box-down {
position: relative;
top: 150px;
}
.box {
width: 20%;
}
.header p {
width: 30%;
}
}