-
Notifications
You must be signed in to change notification settings - Fork 0
/
newscss.css
72 lines (61 loc) · 1.26 KB
/
newscss.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
body {
background-image: url('earth-day-icegif-7.gif');
background-size: cover;
font-family: Arial, sans-serif;
color: #ffffff;
padding: 20px;
}
h1, h2 {
text-align: center;
}
p {
text-align: center;
}
.article {
background-color: rgba(255, 255, 255, 0.7);
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
}
.article h2 {
color: #333333;
}
.article p {
color: #333333;
}
.article a {
display: block;
text-align: center;
margin: 10px auto;
color: #ffffff;
background-color: #333333;
padding: 10px 30px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.article a:hover {
background-color: #555555;
}
.back-button {
position: fixed;
top: 20px;
left: 20px;
z-index: 9999;
}
.back-button a {
display: inline-block;
padding: 10px 20px;
background-color: #333333;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.back-button a:hover {
background-color: #555555;
}
.small-image {
width: 100px; /* Set the width to auto to maintain aspect ratio */
height: 10px; /* Adjust the height value as needed */
}