-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
68 lines (59 loc) · 1.08 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
.navbar {
background-color: #333;
color: white;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.links a {
color: white;
text-decoration: none;
margin-left: 20px;
}
.news-part {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
padding: 20px;
}
.news-article {
border: 8px solid transparent;
transition: border-color 0.3s ease;
padding: 10px;
border-radius: 10px;
}
.news-article:hover {
border-color: rgb(30, 30, 27);
}
.news-article img {
width: 100%;
height: auto;
border-radius: 5px;
}
.news-article h2 {
font-size: 18px;
margin: 10px 0;
}
.news-article p {
color: #555;
}
.easter-egg-trigger {
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 100vh;
cursor: pointer;
opacity: 0;
}