-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpractice3.css
77 lines (66 loc) · 1.14 KB
/
practice3.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
* {
box-sizing: border-box;
}
body {
font-family: Arial;
margin: 0;
background: url(header5.jpg);
background-size: cover;
background-attachment: fixed;
color: rgba(250, 250,250,0.6);
font-size: 25px;
}
.header {
padding: 1px;
text-align: center;
border-bottom: 1px solid rgba(250, 250,250,0.6);
color: rgba(250, 250,250,0.6);
}
.navbar {
display: flex;
background-color: rgba(209, 120, 84,0.6);
position: sticky;
top: 0px;
}
.navbar a {
color: rgba(250, 250,250,0.6);
padding: 5px 20px;
text-align: center;
}
.navbar a:hover {
background-color: #1d2931;
color: rgba(209, 120, 84,0.6);
}
.row {
display: flex;
flex-wrap: wrap;
}
.side {
flex: 30%;
background-color: rgba(29, 41, 49,0.9);
padding: 20px;
}
.main {
flex: 70%;
padding: 20px;
}
.fakeimg {
background-color: rgba(209, 120, 84,0.6);
width: 100%;
padding: 20px;
display: flex;
}
img{
width: 400px;
height: 300px;
padding-right: 30px;
}
.footer {
padding: 20px;
text-align: center;
background-color: rgba(209, 120, 84,0.6);
}
@media screen and (max-width: 700px) {
.row, .navbar {
flex-direction: column;
}