-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
177 lines (154 loc) · 3.02 KB
/
style.css
File metadata and controls
177 lines (154 loc) · 3.02 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* General Reset */
body, h1, h2, p, ul, li, a {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styling */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
margin: 0;
padding: 0;
}
/* Container */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
margin: 20px auto;
padding: 20px;
min-height: 100vh;
border-radius: 8px 8px 0 0; /* Remove bottom radius for footer */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Header */
header h1 {
font-size: 2rem;
text-align: center;
color: #2c3e50;
margin-bottom: 5px;
}
header .subtitle {
text-align: center;
font-size: 1.2rem;
color: #555;
margin-bottom: 20px;
}
hr {
border: 0;
height: 1px;
width: 80%;
background: #ddd;
margin: 10px auto;
}
/* Info Section */
#info {
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}
/* Mobile styles (phones) - up to 767px */
@media screen and (max-width: 767px) {
#info {
flex-direction: column;
align-items: center;
}
#info li {
width: 100%;
justify-content: center;
}
}
/* Tablet styles - 768px to 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
#info {
justify-content: center;
}
#info li {
width: calc(50% - 20px); /* 2 items per row with gap consideration */
justify-content: flex-start;
}
}
/* Desktop styles - 1024px and above */
@media screen and (min-width: 1024px) {
#info {
flex-direction: row;
justify-content: space-evenly;
}
#info li {
flex: 0 1 auto;
}
}
#info img {
width: 20px;
height: 20px;
}
#info a {
text-decoration: none;
color: #2c3e50;
font-weight: bold;
}
#info a:hover {
text-decoration: underline;
}
/* Section Headings */
h2 {
font-size: 1.5rem;
color: #2c3e50;
margin-bottom: 10px;
border-bottom: 2px solid #3498db;
padding-bottom: 5px;
}
/* Paragraphs */
p {
margin-bottom: 15px;
text-align: justify;
}
/* Lists */
ul {
list-style: disc;
margin-left: 20px;
margin-bottom: 20px;
}
ul li {
margin-bottom: 10px;
}
/* Footer */
.footer {
text-align: center;
margin-top: 40px;
margin-left: -20px; /* Compensate for body padding */
margin-right: -20px;
margin-bottom: -40px;
padding: 20px;
font-size: 0.9rem;
color: #f4f4f4;
background-color: #2c3e50;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.footer p {
margin: 0;
text-align: center;
}
/* Content Box Styling */
.content-box {
width: 80%;
margin: 20px auto;
padding: 20px;
background: #ffffff;
border-radius: 8px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.content-box:hover {
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}