-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (95 loc) · 1.98 KB
/
style.css
File metadata and controls
113 lines (95 loc) · 1.98 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
* {
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
background-image: url(https://static1.e926.net/data/sample/d1/33/d13390120d255409eb99c25202dbb474.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
font-family: Arial, Helvetica, sans-serif;
}
nav {
background-color: rgb(46, 35, 35);
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul {
width: 100%;
list-style: none;
display: flex;
justify-content: flex-end;
align-items: center;
}
nav li {
height: 50px;
}
nav a {
height: 100%;
padding: 0 30px;
text-decoration: none;
display: flex;
align-items: center;
color: white;
}
nav a:hover {
background-color: rgb(82, 69, 69);
}
nav li:first-child {
margin-right: auto;
}
main {
display: flex;
justify-content: center;
align-items: flex-start;
min-height: calc(100vh - 50px);
}
.main-content {
display: flex;
justify-content: center;
height: auto;
margin: 20px;
padding: 2em;
background-color: #f0f0f0;
opacity: 0.9;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
article {
margin: 1rem;
}
article h1 {
margin-bottom: 1rem;
}
article h2 {
margin-top: 1rem;
margin-bottom: 1rem;
}
article h3 {
margin-top: 1rem;
margin-bottom: 1rem;
}
aside {
max-width: fit-content;
height: fit-content;
margin-right: 20px;
margin-top: 20px;
padding: 1em;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: center;
}
footer {
background-color: rgb(46, 35, 35);
text-align: center;
padding: 1em 0;
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
footer p {
color: white;
font-size: 0.9em;
}