-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (79 loc) · 1.58 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
89
90
91
body {
font-family: 'Times New Roman', Times, serif;
margin: 2;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background-color: bisque;
}
.container {
display: flex;
flex-flow: row wrap;
flex-direction: column;
align-items: center;
width: 100%;
margin: 20px auto;
}
.contact {
display: flex;
flex-flow: row wrap;
flex-direction: column;
align-items: center;
width: 100%;
margin: 20px auto;
background-color: palegoldenrod;
transition: background-color 2s 500ms;
}
.contact:hover {
background-color: darkorange;
}
.nasa-container {
max-width: 900px;
margin: auto;
padding: 20px;
border-radius: 10px;
background-color: #f4f3f3;
transition: background-color 2s 500ms;
}
.nasa-container:hover {
background-color: rgb(0, 166, 255);
}
.nasa-content {
display: flex;
align-items: center;
gap: 20px;
justify-content: center;
}
/* Text Styling */
#nasa-explanation {
flex: 1; /* Take remaining space */
text-align: left;
max-width: 400px;
}
.grid{
display: grid;
grid-template-rows: repeat(auto, auto);
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 2rem;
padding: 2rem;
justify-items: center;
align-items: center;
}
img {
width: 100%;
max-width: 300px;
height: auto;
justify-content: center;
}
video {
width: 100%;
max-width: 300px;
height: auto;
}
a:link,
a:visited {
color: #7642fb;
}