-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
174 lines (150 loc) · 2.56 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
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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
color: #333;
margin: 0;
padding: 20px;
}
h1 {
font-size: 2.2em;
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
}
h2 {
font-size: 1.8em;
color: #34495e;
border-bottom: 2px solid #e67e22;
padding-bottom: 5px;
margin-bottom: 20px;
}
h3 {
font-size: 1.5em;
color: #2980b9;
margin-top: 30px;
}
p {
font-size: 1.1em;
line-height: 1.6;
margin-bottom: 20px;
}
strong {
color: #e74c3c;
}
pre {
background-color: #ecf0f1;
border-left: 4px solid #e67e22;
padding: 15px;
margin-bottom: 30px;
font-size: 1.1em;
border-radius: 5px;
overflow-x: auto;
}
code {
background-color: #f8f9fa;
padding: 2px 6px;
border-radius: 4px;
font-size: 1em;
}
a {
color: #3498db;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul,
ol {
font-size: 1.1em;
margin-left: 20px;
padding-left: 20px;
}
li {
margin-bottom: 10px;
}
hr {
border: none;
height: 2px;
background-color: #e67e22;
margin-bottom: 20px;
}
img {
display: block;
margin: 20px auto;
max-width: 100%;
height: auto;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
code {
display: block;
text-align: center;
font-size: 1.2em;
margin-top: 10px;
}
/* Container for centering content */
.container {
max-width: 90vw;
margin: auto;
background: #fff;
padding: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
/* Navbar Styling */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #2c3e50;
padding: 15px 20px;
border-radius: 8px;
margin-bottom: 30px;
}
.navbar p {
color: white;
font-size: 1.5em;
font-weight: bold;
margin: 0;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin: 0 15px;
}
.nav-links a {
color: white;
font-size: 1.1em;
text-decoration: none;
padding: 8px 16px;
border: 2px solid transparent;
border-radius: 4px;
transition: all 0.3s ease;
}
.nav-links a:hover {
background-color: #e67e22;
border: 2px solid #e67e22;
color: white;
}
/* For smaller screens */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
}
.nav-links {
flex-direction: column;
align-items: center;
}
.nav-links li {
margin-bottom: 10px;
}
.nav-links a {
font-size: 1.2em;
}
}
.navbar a{
text-decoration: none;
}