-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (97 loc) · 1.77 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
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration:none;
box-sizing:border-box;
}
body{
background-color:lightgrey;
}
.hamburger-icon {
display: none;
}
header {
position:fixed;
top:0;
left:0;
width:100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: darkslateblue;
}
.logo-text{
color:white;
}
.hamburger-icon{
border:none;
background-color:transparent;
}
.hamburger-icon .fa-bars,
.hamburger-icon .fa-x{
color:white;
font-size:1rem;
cursor:pointer;
}
.hamburger-icon input[type="checkbox"] {
appearance: none;
}
@media screen and (max-width: 600px) {
header {
display: block;
}
.logo {
display: flex;
justify-content: space-between;
}
.hamburger-icon {
display: block;
}
.fa-x{
display:none;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .navigation {
margin-top: 1rem;
height:100px;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .fa-bars {
display:none;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .fa-x {
display:inline-block;
}
}
/* Content CSS */
.container{
height:100vh;
display:grid;
place-items:center;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size:cover;
}
.container:nth-child(1){
margin-top:0;
}
.container p{
text-align:center;
font-size:3rem;
color:white;
text-shadow:2px 2px black;
transition:all 0.5s linear;
}
.container button{
color:white;
}
.container-1{
background-image:url("https://i.imgur.com/asaSb2O.png")
}
.container-2{
background-image:url("https://i.imgur.com/GAVf8QH.png")
}
.container-3{
background-image:url("https://i.imgur.com/qmcCpvT.png")
}