-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain4.css
More file actions
56 lines (54 loc) · 1.07 KB
/
Copy pathmain4.css
File metadata and controls
56 lines (54 loc) · 1.07 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
* { box-sizing:border-box ;
-webkit-box-sizing:border-box ;
-o-box-sizing:border-box ;
-moz-box-sizing:border-box }
body {
padding:0;
margin:0;}
/* start header */
.header {
background:rgb(189, 15, 81);
color:white;
padding:60px;
text-align:center;}
/* end header */
/* start navbar */
.navbar {
background:rgb(9, 12, 39);
display:flex; }
.navbar a {
color:white;
padding:14px 20px ;
text-align:center ;
text-decoration:none;}
a:hover {
background:rgb(207, 207, 221);
color:black;
}
/* end navbar*/
/*start row */
.row {
display:flex;
flex-wrap:wrap;
}
.side {
background:rgb(231, 241, 243);
flex:30%; }
.fakeimg {
background:#ccc;
padding:20px;
width:100%;
}
.main { flex:70%; }
.side, .main {padding:20px; }
/* end row */
/* start footer*/
.footer {
background:rgb(230, 235, 236);
padding:16px;
text-align:center;}
/* end footer */
/* media */
@media screen and (max-width:700px) {
.navbar, .row { flex-direction:column;}
}