-
Notifications
You must be signed in to change notification settings - Fork 0
/
style
142 lines (123 loc) · 2.63 KB
/
style
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
/* General Reset and Specific HTML Elements Reset */
*,
h1, h2, h3, h4, h5, h6, p, ul {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
/* Content Styling */
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
/* Header */
.header {
background-color: #0056b3;
color: #fff;
text-align: center;
padding: 20px 0;
margin-bottom: 20px;
font-family: 'Georgia', serif;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.header h1 {
font-size: 2.5em;
}
/* Main Content Area */
.content {
background: white;
padding: 25px;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Spacing between paragraphs */
.content p {
margin-bottom: 20px; /* increases spacing between paragraphs */
}
.content h2 {
color: #0056b3;
border-bottom: 2px solid #0056b3;
padding-bottom: 10px;
margin-bottom: 20px;
}
/* Links and Buttons */
a {
color: #0056b3;
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
outline: none;
color: #0000FF;
}
/* Footer styling */
.footer {
background: #333;
color: white;
text-align: center;
padding: 4px 0; /* Reduced padding for smaller footer */
position: fixed;
left: 0;
bottom: 0;
width: 100%;
font-family: 'Georgia', serif;
font-size: 0.3em; /* Configured fixed size for all footer content */
}
/* Footer links styling */
.footer a {
color: #FFD700;
padding: 0 4px;
text-decoration: none;
font-size: 1em; /* Maintain legible link size */
}
.footer a:hover {
text-decoration: underline;
color: #FFFFFF;
}
/* Responsive Design */
@media (max-width: 1024px) {
.header h1, .footer {
font-size: 2em;
}
}
@media (max-width: 768px) {
.header h1, .footer {
font-size: 0.9em;
}
}
@media (max-width: 480px) {
.header, .footer {
text-align: left;
padding: 15px;
font-size: 1.4em; /* Setting specific font size for footer in mobile */
}
.header h1 {
font-size: 1.5em;
}
.content {
padding: 10px;
}
}
.footer i {
padding-right: 5px; /* Adds space to the right of each icon */
vertical-align: middle; /* Aligns icons with the text vertically */
}
.footer a {
padding-left: 5px; /* Adds space after icons before the text link */
}
/* Highlights for special terms */
.highlight {
font-weight: bold;
color: #d35400;
}
/* Incorporate some elegant icons if needed */
i.fa {
padding-right: 8px;
}