-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaboutStyle.css
More file actions
85 lines (84 loc) · 1.18 KB
/
aboutStyle.css
File metadata and controls
85 lines (84 loc) · 1.18 KB
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
body {
height: 100%;
width: 100%;
font-family: "Playfair Display", serif;
}
.wrapper {
display: grid;
grid-template-rows: 80px 1fr 2fr;
}
nav {
width: 100%;
height: 80px;
background-color: #000;
opacity: 1.5;
line-height: 80px;
grid-row: 1/2;
}
nav ul {
float: right;
margin-right: 30px;
}
nav ul li {
list-style-type: none;
display: inline-block;
transition: 0.08s all;
}
nav ul li:hover {
background-color: #fd391a;
}
nav ul li a {
text-decoration: none;
color: #fff;
padding: 30px;
}
header {
grid-row: 2/3;
background-color: #33a8dd;
height: 200px;
}
h1 {
color: white;
text-align: center;
font-size: 60px;
margin-top: 60px;
}
p {
grid-row: 3/4;
text-align: left;
height: 100%;
margin-top: 50px;
width: 50%;
margin-left: auto;
margin-right: auto;
}
iframe {
display: none;
}
@media (min-width: 576px) {
.wrapper {
grid-template-columns: 1fr 1fr;
grid-template-rows: 80px 1fr 2fr;
}
nav {
grid-column: 1/3;
grid-row: 1/2;
}
header {
grid-column: 1/3;
grid-row: 2/3;
}
p {
grid-column: 2/3;
grid-row: 3/4;
text-align: center;
}
iframe {
display: grid;
grid-column: 1/2;
grid-row: 3/4;
width: 300px;
height: 300px;
margin: auto;
}
}