-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
123 lines (106 loc) · 2.01 KB
/
styles.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
:root {
--shadow: #ff295e;
--background: #35363d;
--text-color: #fff;
}
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600;700&display=swap');
/* */
*, *::before, *::after {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
* {
margin: 0;
padding: 0;
}
html {
font-size: 62.5%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
background-color: var(--background);
background-image: url(./img/Taieri.svg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
font-family: 'Quicksand', sans-serif;
font-size: 2rem;
color: var(--text-color);
font-weight: 600;
text-rendering: optimizeLegibility;
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h1 {
text-align: center;
font-weight: 700;
}
img {
height: 100%;
width: 100%;
-o-object-fit: cover;
object-fit: cover;
cursor: pointer;
outline: none;
}
.main {
height: 90%;
width: 700px;
background-color: var(--background);
border: 2px solid var(--shadow);
border-radius: 4px;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.main-head {
max-width: 700px;
}
.main-box, .main-options__container {
padding: 0 10px;
}
.main-box {
height: 100px;
margin: 40px 0;
text-align: center;
line-height: 1.5;
display: flex;
align-items: center;
justify-content: center;
}
h2 {
text-align: center;
margin: 40px 0;
}
.main-options__container {
display: grid;
grid-auto-flow: column;
column-gap: 10px;
justify-content: space-around;
align-items: center;
}
.main-options__container--img {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
.main-options__container--img img {
max-height: 150px;
max-width: 150px;
}
figcaption {
margin-top: 20px;
width: 53px;
}
@media only screen and (min-width:600px) {
.main-box {
width: 60%;
align-self: center;
}
}