forked from prograd-org/lab-html-css-flex-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (53 loc) · 959 Bytes
/
Copy pathstyle.css
File metadata and controls
67 lines (53 loc) · 959 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
*{
margin:0;
padding:0;
box-sizing:border-box;
}
header,footer,aside,nav,article{
padding: 1em;
font-size:20px;
}
.flex-container{
display:flex;
flex-direction: column;
color:rgb(235, 232, 232);
}
#main{
display:flex;
flex-direction: column;
}
@media screen and (min-width:576px){
#main{
flex-direction: row;
}
}
header{
background-color:orange;
height:100px;
display:flex;
justify-content: center;
font-size:30px;
}
footer{
background-color:#fa9a40;
height:90px;
}
nav{
width:200%;
background-color:rgba(136, 138, 41, 0.959);
border: solid white 10px;
border-left:none;
}
aside{
width:200%;
background-color:rgba(136, 138, 41, 0.959);
border: solid white 10px;
border-right:none;
order:2;
}
article{
padding:20px;
font-size:18px;
background-color: rgb(128, 148, 102);
border: solid white 10px;
}