-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile.css
224 lines (183 loc) · 3.4 KB
/
mobile.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
article {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: minmax(0 1fr) 1fr 1fr;
}
article div:nth-of-type(1) {
grid-row: 3;
grid-column: 1 / 5;
margin-right:3vw;
padding-top: 10px;
padding-bottom: 10px;
font-size: 100%;
}
article div:nth-of-type(1) h3 {
font-size: 2rem;
}
article div:nth-of-type(1) li{
list-style: none;
font-size: 1.2rem;
}
article div:nth-of-type(1) p{
font-size: 1.2rem;
padding-top: 7vh;
}
article div:nth-of-type(1) p:last-child{
padding-top: 5vh;
}
article div:nth-of-type(2) {
grid-row: 2;
grid-column: 1/3;
border-radius: 0px 0px 0px 20px;
margin-top: 10px;
margin-right: 5px;
margin-bottom: 10px;
padding-left: 10px;
padding-top: 10px;
padding-bottom: 5vw;
font-size: 1.2vw;
}
article div:nth-of-type(3) {
grid-row: 2;
grid-column: 3/5;
margin-top: 10px;
border-radius: 0px 0px 20px 0px;
margin-left: 5px;
margin-bottom: 10px;
padding-left: 15px;
padding-top: 10px;
padding-bottom: 5vw;
font-size: 1rem;
}
article img {
grid-row: 1;
grid-column: 1/5;
border-radius: 20px 20px 0px 0px;
width: 100%;
object-fit: cover;
transition: opacity 0.5s ease-in-out;
}
article img:hover {
opacity: 0;
}
article ol {
padding-left: 3vw;
overflow: hidden;
}
aside {
display: grid;
grid-template-rows: 40vw 40vw;
grid-template-columns: 1fr 1fr 1fr ;
grid-gap: 5px;
margin-top: 5px;
}
aside>div{
grid-column: 1;
border-radius: 20px 0 20px 20px;
}
aside div {
padding: 3vw 2vw;
overflow: hidden;
display: flex;
align-items: center;
}
aside div p {
font-size: 3vw;
}
aside div:nth-of-type(2) {
grid-column: 2 / span 2;
border-radius: 20px 20px 20px 0;
}
aside div:nth-of-type(3) {
grid-column: 2;
grid-row: 2;
border-radius: 0 20px 20px 20px;
}
aside div:nth-child(4) {
grid-column: 3;
}
body {
background-image: url(./Assets/Images/mobbg.jpg);
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
}
div .beige h3{
color: #CC0000;
font-size: 4vw;
}
div .beige li {
color: #CC0000;
font-size: 3vw;
}
div .black h3{
color: orange;
font-size: 4vw;
}
div .black li {
color: antiquewhite;
font-size: 3vw;
}
footer {
padding-top: 3vh;
padding-bottom: 5vh;
text-align: center;
}
h1{
text-align: center;
padding-top: 5vh;
padding-bottom: 2vw;
}
main {
padding: 0 3vw;
}
nav a {
padding: 4vw;
}
nav div {
padding:4vw;
}
.container {
margin: 0 1vw 3vw 1vw;
}
#second {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: 40vw 40vw;
grid-gap: 5px;
}
#second div {
padding: 4vw 2vw;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
#second ol {
padding-left: 3vw;
margin:0;
overflow: hidden;
}
#second div p {
font-size: 3vw;
}
#second div:first-child {
border-radius: 20px 20px 20px 0;
grid-column: 1;
grid-row: 1;
}
#second div:nth-child(2) {
grid-column: 2;
border-radius: 0 20px 20px 20px;
grid-row: 1;
}
#second div:nth-child(3) {
border-radius: 0 20px 20px 20px;
grid-column: 1;
grid-row: 2;
}
#second div:nth-child(4) {
grid-column: 2;
grid-row: 2;
border-radius: 20px 20px 0 20px;
}