-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
133 lines (113 loc) · 1.79 KB
/
styles.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body {
font-family: "Arial", sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
color: #333;
background-color: #f4f4f9;
}
header {
background-color: #4caf50;
color: #fff;
padding: 20px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header h1 {
margin: 0;
font-size: 2em;
}
header p {
margin: 5px 0;
font-size: 0.9em;
}
nav {
background-color: #333;
color: #fff;
padding: 10px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
padding: 5px 10px;
transition: background 0.3s, color 0.3s;
}
nav ul li a:hover {
background-color: #4caf50;
color: #fff;
border-radius: 3px;
}
main {
margin: 20px auto;
padding: 20px;
max-width: 800px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
main h2 {
color: #4caf50;
border-bottom: 2px solid #4caf50;
padding-bottom: 5px;
margin-bottom: 20px;
}
main p,
main ul {
margin: 10px 0;
}
main ul {
padding-left: 20px;
list-style-type: disc;
}
main ul li {
margin-bottom: 10px;
}
footer {
text-align: center;
padding: 10px 0;
margin-top: 20px;
background-color: #333;
color: #fff;
font-size: 0.9em;
}
.authors {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
gap: 30px;
}
.author {
text-align: center;
}
.author img {
border-radius: 50%;
width: 100px;
height: 100px;
object-fit: cover;
border: 2px solid #4caf50;
margin-bottom: 10px;
}
@media (max-width: 768px) {
header h1 {
font-size: 1.5em;
}
nav ul li {
margin: 0 10px;
}
main {
padding: 15px;
}
}