-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (113 loc) · 2.96 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
html {
height: 100%;
width: 100%;
}
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
.responsive {
max-width: 100%;
height: auto;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
# {
padding: 20px
}
#hero-banner {
/*position: -webkit-sticky;*/
/* Safari */
/*position: sticky;*/
top: 0;
}
h1 {
color: #363A8B;
}
h2 {
color: #363A8B;
}
.brand-color {
color: #363A8B;
}
.logo {grid-area: logo;}
.description {grid-area: description;}
.mobile {grid-area: mobile;}
.advantages{grid-area: advantages;}
.languages{grid-area: languages;}
.share{grid-area: share;}
.download{grid-area: download;}
.download-ios{grid-area: download-ios; align-items: center; justify-content: center;}
.download-aos{grid-area: download-aos; align-items: center; justify-content: center;}
.privacy{grid-area: privacy;}
.credits{grid-area: credits;}
.grid-container>div {
background-color: rgba(255, 255, 255, 0.8);
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.grid-container {
display: grid;
grid-template-areas:
'logo '
'description'
'advantages'
'mobile'
'languages'
'share'
'download'
'download-ios'
'download-aos'
'privacy'
'credits'
;
gap: 25px;
padding: 25px;
}
.mobile {
width: 70%;
margin-left: auto;
margin-right: auto;
}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
.grid-container {
display: grid;
grid-template-areas:
'logo logo logo logo logo logo'
'description description description description description description'
'mobile mobile advantages advantages advantages advantages'
'mobile mobile languages languages languages languages'
'share share share share share share'
'download download download download download download'
'download-ios download-ios download-ios download-aos download-aos download-aos'
'privacy privacy privacy privacy privacy privacy'
'credits credits credits credits credits credits'
;
gap: 25px;
padding: 25px;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.grid-container {
display: grid;
grid-template-areas:
'logo logo logo logo logo logo logo logo'
'description description description description mobile mobile mobile mobile'
'advantages advantages share share mobile mobile mobile mobile'
'languages languages share share mobile mobile mobile mobile'
'download download download download download download download download'
'download-ios download-ios download-ios download-ios download-aos download-aos download-aos download-aos'
'privacy privacy privacy privacy privacy privacy privacy privacy'
'credits credits credits credits credits credits credits credits'
;
gap: 25px;
padding: 25px;
}
.share{text-align: center;}
}