-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
93 lines (86 loc) · 1.63 KB
/
index.css
File metadata and controls
93 lines (86 loc) · 1.63 KB
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
html {
font-family: "Roboto", sans-serif;
background: linear-gradient(135deg, #e0f7fa 0%, #81c784 100%);
color: #333;
}
body {
margin: 0;
}
header {
text-align: center;
padding: 30px;
background-color: #0c7a12; /* Darker green header */
color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
width: 90%;
max-width: 800px;
margin: 0 auto;
border-radius: 15px;
}
nav ul {
list-style: none;
display: flex;
background-color: #18c021b4; /* Rich green nav */
gap: 2rem;
flex-wrap: wrap;
margin: 20px auto;
width: 90%;
max-width: 800px;
border-radius: 50px;
justify-content: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
nav ul li a:hover {
color: #c8e6c9;
}
video,
img {
display: block;
width: 400px;
max-width: 100%;
height: auto;
margin: 20px auto;
border-radius: 10px;
}
section {
display: flex;
flex-direction: column;
align-items: center;
background-color: #ffffff;
padding: 30px;
margin: 30px auto;
width: 90%;
max-width: 800px;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-left: 6px solid #4caf50;
}
#nasa-content,
#country-content {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
text-align: center;
width: 100%;
padding: 20px;
background-color: #e3f2fd;
border: 1px solid #4caf50;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.apod-description {
margin-top: 10px;
font-size: 1.1em;
color: #000000;
line-height: 1.5;
}
a:hover {
text-decoration: underline;
}