-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (116 loc) · 2.09 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
134
135
136
137
138
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 40px;
}
/* Stats Cards */
.stats-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
.stat-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
text-align: center;
}
.stat-number {
font-size: 2em;
font-weight: bold;
color: #2c3e50;
}
/* Category Bars */
.categories-section {
margin-bottom: 40px;
}
.category-bars {
display: flex;
flex-direction: column;
gap: 10px;
}
.category-bar {
display: flex;
align-items: center;
gap: 10px;
}
.bar-label {
width: 100px;
text-align: right;
}
.bar {
height: 30px;
min-width: 40px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
color: white;
transition: width 0.3s ease;
}
/* Articles Grid */
.articles-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.article-card {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.2s;
}
.article-card:hover {
transform: translateY(-2px);
}
.tech-article {
border-left: 4px solid #3498db;
}
.article-meta {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
.category-tag {
padding: 4px 8px;
border-radius: 4px;
font-size: 0.8em;
color: white;
}
.category-tag.tech { background-color: #3498db; }
.category-tag.blog { background-color: #2ecc71; }
.category-tag.video { background-color: #e74c3c; }
.category-tag.other { background-color: #95a5a6; }
.word-count {
font-size: 0.8em;
color: #7f8c8d;
}
.domain {
color: #7f8c8d;
font-size: 0.9em;
margin: 5px 0;
}
a {
color: #3498db;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
.stats-container {
grid-template-columns: 1fr;
}
.articles-grid {
grid-template-columns: 1fr;
}
}