-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
127 lines (108 loc) · 1.95 KB
/
css.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
/* Global Styles */
body {
font-family: 'Pretendard', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
color: #333;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
/* Header Styles */
.header {
background-color: #f5f5f5;
border-bottom: 1px solid #ddd;
padding: 1rem 0;
}
.header .logo {
font-size: 1.5rem;
font-weight: bold;
margin: 0;
}
.nav ul {
list-style: none;
display: flex;
justify-content: space-around;
padding: 0;
margin: 0;
}
.nav a {
text-decoration: none;
color: #333;
font-size: 1rem;
}
.nav a:hover {
text-decoration: underline;
}
/* Main Content Styles */
.main {
display: flex;
flex-wrap: wrap;
gap: 2rem;
margin-top: 2rem;
}
.article {
flex: 2;
background-color: #fff;
padding: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
}
.article-title {
font-size: 1.75rem;
margin-bottom: 0.5rem;
}
.article-meta {
font-size: 0.875rem;
color: #666;
margin-bottom: 1rem;
}
.article-image {
width: 100%;
height: auto;
margin-bottom: 1rem;
border-radius: 4px;
}
.article-content p {
margin-bottom: 1rem;
}
/* Sidebar Styles */
.sidebar {
flex: 1;
background-color: #f9f9f9;
padding: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
}
.sidebar h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
}
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar a {
text-decoration: none;
color: #007bff;
font-size: 0.875rem;
}
.sidebar a:hover {
text-decoration: underline;
}
/* Footer Styles */
.footer {
background-color: #f5f5f5;
text-align: center;
padding: 1rem 0;
border-top: 1px solid #ddd;
margin-top: 2rem;
}
.footer p {
margin: 0.5rem 0;
font-size: 0.875rem;
}