-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (106 loc) · 1.78 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
body {
margin: 0;
padding: 0;
background-color: #162F3E;
color: white;
font-family: 'Raleway', sans-serif;
}
h1 {
margin: 0;
padding: 0;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
.title {
display: flex;
justify-content: center;
margin-top: 2%;
}
.wrapper {
display: flex;
justify-content: center;
}
.content {
display: flex;
margin-top: 4%;
justify-content: space-around;
position: relative;
padding: 0 20px;
width: 900px;
height: 648px;
}
.navigation {
display: block;
width: 30%;
flex: 1;
}
#nav__wrapper {
display: flex;
flex-direction: column;
}
.main {
padding: 10px;
background-color: #fff;
width: 56%;
}
.btn {
height: 3em;
font-size: 18px;
color: #73828b;
background-color: #132a37;
border: 1px solid #112531;
}
.btn:hover {
color: #d0d5d8;
cursor: pointer;
}
.btn:focus {
color: #fff;
outline: 0;
background-color: #1d3d51;
}
.menu {
position: absolute;
top: 30px;
padding-left: 6%;
}
.hamburger {
display: none;
background: url("./img/menu.png") no-repeat center;
height: 20px;
width: 20px;
position: absolute;
top: -5px;
border: none;
}
input[type="checkbox"]:checked ~ .main {
background-color: orangered;
margin: 10px;
padding: 10px;
}
@media screen and (max-width: 700px) {
.hamburger {
display: block;
}
.title {
font-size: 26px;
}
.main {
width: 90%;
}
.navigation {
display: none;
width: 60%;
left: 0;
position: absolute;
}
.hamburger--open {
background: url("./img/x.png") no-repeat center;
}
.navigation--open {
display: block;
}
}