-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.less.css
More file actions
109 lines (109 loc) · 1.61 KB
/
info.less.css
File metadata and controls
109 lines (109 loc) · 1.61 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
/* Color Palette */
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #F3F4F6;
color: #264653;
}
header {
background-color: #005F73;
padding: 1rem;
color: #FFFFFF;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
margin: 0;
padding: 0;
}
nav ul li {
margin: 0 1rem;
}
nav ul li a {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
}
nav ul li a.active {
text-decoration: underline;
}
/* Layout */
main {
display: flex;
flex-direction: row;
padding: 1rem;
gap: 2rem;
}
.content {
display: flex;
flex-direction: row;
gap: 2rem;
width: 100%;
}
.main-content {
flex: 3;
}
.sidebar {
flex: 1;
background-color: #E9D8A6;
padding: 1rem;
border-radius: 5px;
}
/* Articles */
.article {
display: flex;
flex-direction: row;
align-items: flex-start;
margin-bottom: 2rem;
gap: 1rem;
}
.article-image {
width: 150px;
height: 150px;
border-radius: 5px;
object-fit: cover;
}
.article-text {
flex: 1;
}
/* Footer */
footer {
text-align: center;
background-color: #005F73;
color: #FFFFFF;
padding: 1rem;
margin-top: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
main {
flex-direction: column;
}
.content {
flex-direction: column;
}
nav ul {
flex-direction: column;
align-items: center;
}
nav ul li {
margin: 0.5rem 0;
}
.article {
flex-direction: column;
align-items: center;
}
.article-image {
width: 100%;
height: auto;
}
}
@media (min-width: 1200px) {
.content {
max-width: 1200px;
margin: 0 auto;
}
}