-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (76 loc) · 1.49 KB
/
style.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
:root {
--color-primary: #3498db;
--color-secondary: #333;
--color-tertiary: #c18cd4;
--color-accent: #2980b9;
--color-text-light: #b2b2d5;
--color-text-dark: #555;
--color-background: #D3D3E7;
}
body {
font-family: Roboto, sans-serif;
background-color: var(--color-background);
margin: 0;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
h1 {
color: var(--color-secondary);
text-align: center;
font-family: Georgia, Times, Times New Roman, serif;
font-size: 3rem;
}
a {
color: var(--color-primary);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.rss-item {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 5px;
margin: 1rem 0;
padding: 1rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: flex-start;
align-items: flex-start;
width: 100%;
}
.rss-icon {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 3rem;
margin-left: 1rem;
margin-top:55%;
}
.rss-website {
font-weight: bold;
margin: 0;
}
.rss-title {
margin: .5rem 0;
display: block;
}
.rss-title .link {
font-size: 1rem;
color: var(--color-tertiary);
font-weight: 700;
}
.rss-title .link:hover {
color: var(--color-accent);
}
.date {
color: var(--color-text-light);
margin-top:1rem;
text-align:right;
}
.description {
margin-top: 10px;
font-size: 1rem;
color: var(--color-text-dark);
}