-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (84 loc) · 1.33 KB
/
style.css
File metadata and controls
100 lines (84 loc) · 1.33 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}
.header {
background-color: #4CAF50;
color: white;
padding: 20px;
text-align: center;
}
.header h1 a {
color: white;
text-decoration: none;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
margin-top: 10px;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
}
.main-wrapper {
display: flex;
align-items: stretch;
padding: 20px;
gap: 20px;
}
.content {
flex: 1;
}
aside.aside {
width: 300px;
background-color: #f4f4f4;
padding: 15px;
border-radius:8px;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
display:flex;
flex-direction:column;
gap:10px;
}
aside article {
background-color:#fff;
padding:10px;
border-radius:8px;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}
footer.footer {
clear: both;
background-color:#333;
color:white;
text-align:center;
padding:15px 0;
}
footer a {
color:#ddd;
margin:0 10px;
text-decoration:none;
}
@media(max-width:768px){
.main-wrapper{
flex-direction: column;
}
aside.aside{
width:auto;
}
}
.header h1 a:hover {
color: rgb(2, 79, 41);
}
li a:hover{
color: rgb(2, 79, 41);
}
footer a:hover{
color: aquamarine;
}