-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (96 loc) · 1.83 KB
/
style.css
File metadata and controls
117 lines (96 loc) · 1.83 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
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
110
111
112
113
114
115
116
117
body {
background: url("https://besthqwallpapers.com/Uploads/15-5-2019/92138/thumb2-gray-asphalt-texture-asphalt-background-road-background-asphalt-gray-stone-background.jpg");
padding:100px;
}
.container {
width:1000px;
min-height:800px;
margin: 0 auto;
background: silver;
}
.header {
}
.title-block {
display: flex;
font-size: 40px;
justify-content: center;
align-items: center;
height: 300px;
background: url("https://images.unsplash.com/photo-1503780099440-e6ab046a1d71?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1406&q=80") no-repeat center center/cover;
}
.title-block h1{
color: white;
opacity: 0.9;
}
.nav {
justify-content: center;
align-items: center;
border-left: 5px solid silver;
border-right: 5px solid silver;
border-top: 5px solid silver;
background: black;
}
.nav li {
display:flex;
}
.nav a {
padding:20px;
text-decoration: none;
color: white;
font-weight: bold;
font-size: 20px;
}
.nav a img{
width:100%;
height: 120px;
}
.nav li a {
border-right:2px solid white;
transition: background .3s ease;
}
.nav li a:hover {
background: silver;
color:black;
}
.content-wrapper {
display:flex;
margin-top: 30px;
}
.content {
width: 80%;
line-height: 20px;
}
.sidebar {
width: 20%;
margin-left: 80px;
background-color: black;
color:white;
border-right: 5px solid silver;
padding-right: 10px;
}
.sidebar li {
font-size: 20px;
}
.menu li {
margin: 10px 0;
transition: transform .5s ease;
cursor:pointer;
margin-left: 5px;
border-bottom: 2px solid white;
}
.menu li:hover {
transform: translateX(10px);
background:silver;
color: black;
}
h3 {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
padding-left: 15px;
}
p {
padding-left: 10px;
padding-right: 10px;
font-size: 20px;
}