Skip to content

Commit fab48d4

Browse files
authored
Update styles.css
1 parent 737345f commit fab48d4

File tree

1 file changed

+261
-0
lines changed

1 file changed

+261
-0
lines changed

css/styles.css

+261
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,264 @@
1+
body {
2+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
3+
background-color: #f4f4f9;
4+
color: #343a40;
5+
padding-top: 56px;
6+
font-size: 16px;
7+
font-weight: 400; /* Set the default weight for readability */
8+
line-height: 1.6; /* Enhance readability with appropriate spacing */
9+
letter-spacing: 0.4px; /* Subtle spacing for a polished look */
10+
word-spacing: 1px; /* Consistent word spacing */
11+
text-rendering: optimizeLegibility; /* Optimize for legibility on most screens */
12+
-webkit-font-smoothing: antialiased; /* Smooth font rendering for WebKit browsers */
13+
}
14+
.action-btn{
15+
font-size: 16px;
16+
17+
}
18+
a{
19+
text-decoration: none;
20+
}
21+
.site-main article, .sidebar, .breadcrumbs{
22+
background: #fff;
23+
24+
}
25+
26+
.site-main article, .sidebar{
27+
padding: 16px;
28+
}
29+
30+
.sidebar{
31+
margin-left: 20px;
32+
}
33+
34+
35+
/* Apply responsiveness to all images except those inside anchor tags */
36+
.site-main article img:not(a img) {
37+
width: 100%; /* Make them responsive */
38+
height: auto; /* Maintain aspect ratio */
39+
}
40+
41+
/* Ensure that images inside anchor tags keep their natural size */
42+
.site-main article a img {
43+
width: auto; /* Retain original size */
44+
height: auto; /* Maintain aspect ratio */
45+
}
46+
47+
/* Heading styles */
48+
#changelogList h1 {
49+
font-size: 26px;
50+
color: #0073e6;
51+
border-bottom: 2px solid #ddd;
52+
padding-bottom: 10px;
53+
margin-bottom: 20px;
54+
}
55+
56+
#changelogList h2 {
57+
font-size: 22px;
58+
color: #005bb5;
59+
margin-top: 30px;
60+
margin-bottom: 10px;
61+
border-left: 4px solid #0073e6;
62+
padding-left: 10px;
63+
}
64+
65+
#changelogList h3 {
66+
font-size: 18px;
67+
color: #444;
68+
margin-top: 20px;
69+
margin-bottom: 10px;
70+
border-left: 3px solid #005bb5;
71+
padding-left: 8px;
72+
}
73+
74+
/* Text and link styles */
75+
#changelogList p {
76+
margin: 10px 0;
77+
color: #555;
78+
}
79+
80+
#changelogList a {
81+
color: #0073e6;
82+
text-decoration: none;
83+
border-bottom: 1px dashed #0073e6;
84+
}
85+
86+
#changelogList a:hover {
87+
color: #005bb5;
88+
border-bottom: 1px solid #005bb5;
89+
}
90+
91+
/* List styles */
92+
#changelogList ul {
93+
list-style-type: disc;
94+
padding-left: 40px;
95+
margin-bottom: 20px;
96+
}
97+
98+
#changelogList ul ul {
99+
list-style-type: circle;
100+
margin-top: 10px;
101+
}
102+
103+
/* Code block styles */
104+
#changelogList code {
105+
font-family: 'Courier New', Courier, monospace;
106+
background-color: #f4f4f4;
107+
color: #c7254e;
108+
padding: 2px 4px;
109+
border-radius: 3px;
110+
border: 1px solid #ddd;
111+
}
112+
113+
/* Added emphasis for version tags */
114+
#changelogList h2::after {
115+
content: attr(id);
116+
font-size: 0.875rem;
117+
color: #777;
118+
margin-left: 10px;
119+
font-style: italic;
120+
}
121+
122+
/* Stat Row */
123+
.stat-row {
124+
background-color: #f8f9fa; /* Light background */
125+
border: 1px solid #dee2e6; /* Subtle border */
126+
border-radius: 8px; /* Rounded corners */
127+
padding: 8px; /* Padding inside the container */
128+
font-size: 0.85rem; /* Small font size for stats */
129+
}
130+
131+
/* Individual Stat Boxes */
132+
.stat-box {
133+
flex: 1; /* Allow boxes to evenly divide space */
134+
display: flex;
135+
align-items: center; /* Align icon and text vertically */
136+
justify-content: start; /* Left-align content */
137+
padding: 4px;
138+
}
139+
140+
/* Stat Value */
141+
.stat-value {
142+
font-size: 14px; /* Slightly larger for emphasis */
143+
font-weight: 600; /* Bold value */
144+
color: #212529; /* Default text color */
145+
}
146+
147+
/* Stat Label */
148+
.stat-label {
149+
font-size: 13px; /* Smaller size for the label */
150+
color: #6c757d; /* Subtle text color */
151+
margin: 0; /* Remove default margin */
152+
}
153+
154+
/* Icon Styles */
155+
.stat-box i {
156+
font-size: 1.2rem; /* Larger icons for visual hierarchy */
157+
}
158+
159+
160+
161+
162+
.breadcrumbs {
163+
padding: 10px;
164+
font-size: 14px;
165+
box-sizing: border-box;
166+
}
167+
168+
.metadata-item {
169+
display: flex;
170+
align-items: center;
171+
margin-bottom: 0.5rem;
172+
}
173+
174+
.metadata-item i {
175+
font-size: 1.2rem;
176+
margin-right: 0.5rem;
177+
color: #6c757d;
178+
}
179+
180+
181+
/* Sidebar Styles */
182+
183+
184+
/* Section Titles */
185+
.sidebar-title {
186+
font-size: 1rem;
187+
color: #343a40;
188+
margin-bottom: 12px;
189+
}
190+
191+
/* Owner Avatar */
192+
.owner-avatar {
193+
width: 40px;
194+
height: 40px;
195+
object-fit: cover;
196+
}
197+
198+
/* Links */
199+
.sidebar-link {
200+
color: #007bff;
201+
text-decoration: none;
202+
font-weight: 500;
203+
}
204+
205+
.sidebar-link:hover {
206+
text-decoration: underline;
207+
}
208+
209+
/* Metadata Items */
210+
.metadata-item {
211+
font-size: 0.9rem;
212+
color: #495057;
213+
}
214+
215+
.metadata-item strong {
216+
font-weight: 600;
217+
color: #212529;
218+
}
219+
220+
.metadata-item i {
221+
color: #6c757d;
222+
}
223+
224+
.metadata-item span {
225+
color: #495057;
226+
}
227+
228+
/* Responsive Adjustments */
229+
@media (max-width: 768px) {
230+
.sidebar {
231+
padding: 12px;
232+
}
233+
.sidebar-title {
234+
font-size: 0.95rem;
235+
}
236+
.metadata-item {
237+
font-size: 0.85rem;
238+
}
239+
}
240+
241+
242+
/* Footer link styles */
243+
.page-footer, .footer-link{
244+
font-size: 0.85rem; /* Small font size */
245+
color: rgba(255, 255, 255, 0.7); /* Dim white color */
246+
}
247+
.footer-link {
248+
text-decoration: none; /* Remove underline */
249+
transition: color 0.3s ease; /* Smooth hover effect */
250+
}
251+
252+
/* Hover effect */
253+
.footer-link:hover {
254+
color: rgba(255, 255, 255, 1); /* Lighten on hover */
255+
}
256+
257+
/* Separator style */
258+
.list-inline-item span {
259+
font-size: 0.85rem; /* Match the link font size */
260+
}
261+
1262
/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */
2263
pre.prettyprint {
3264
background: #1d1f21 !important;

0 commit comments

Comments
 (0)