forked from CodeYourFuture/HTML-CSS-Coursework-Week3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (41 loc) · 852 Bytes
/
style.css
File metadata and controls
46 lines (41 loc) · 852 Bytes
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
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body {
background: gray;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 80%;
padding: 3rem;
position: fixed;
top: 0;
z-index: 1000;
background-color: black;
}
.logo {
display: inline block;
justify-content: space-around;
background-color: white;
align-items: left;
width: 5%;
position: fixed;
border: solid 3px blue;
padding: 4.5rem;
margin-left: -8rem;
margin-top: -3.5rem;
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}