-
Notifications
You must be signed in to change notification settings - Fork 0
/
dark-mode.css
141 lines (121 loc) · 2.24 KB
/
dark-mode.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
body {
font-family: "Roboto Mono", monospace;
color: #f4f4f4;
background-color: #1a1a1a;
margin: 0;
padding: 0;
}
header {
text-align: center;
color: #fff;
padding: 1rem;
font-weight: 300;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
img {
display: block;
margin: 0 auto;
max-width: 100%;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
h3 {
margin-bottom: 0.5rem;
}
/* Apply smaller font size to apodExplanation */
#apodExplanation {
font-size: 10px; /* You can adjust this value as needed */
}
/* Media Query for iPhones */
@media screen and (max-width: 480px) {
main {
padding: 1rem;
}
}
/* Media Query for iPads */
@media screen and (min-width: 481px) and (max-width: 1024px) {
main {
padding: 1rem;
}
}
/* Media Query for Larger Screens (e.g., Mac) */
@media screen and (min-width: 1025px) {
header {
padding: 2rem;
}
main {
padding: 2rem;
}
}
.social-icons-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
}
.social-icons-container img {
display: block;
width: 25px;
height: 25px;
margin: 0 5px;
cursor: pointer;
}
/* Add this style for a two-column layout */
main {
max-width: 1200px; /* Adjust the max-width as needed */
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 2rem;
}
.image-column {
flex: 1;
margin-right: 2rem; /* Add some spacing between columns */
}
.info-column {
flex: 2;
text-align: justify; /* Add this line to justify the text */
}
/* Media Query for Tablets and Larger Screens */
@media screen and (max-width: 1024px) {
main {
flex-direction: column;
align-items: center;
}
.image-column,
.info-column {
margin-right: 0;
margin-bottom: 2rem;
text-align: center;
text-align: left; /* Reset text alignment for smaller screens */
}
}
/* Add this style for the footer */
footer {
text-align: center;
padding: 1rem 0;
}
footer p {
margin: 0;
color: #fff;
font-size: 10px;
}
footer a {
color: #fff;
text-decoration: none;
}
/* Add this style to make the footer stick to the bottom */
html, body {
height: 100%;
}
body {
display: flex;
flex-direction: column;
}
main {
flex: 1;
}