Skip to content

Commit b019bf7

Browse files
Merge pull request #318 from silversword411/main
Enhance responsive design for grid and typography in mobile view
2 parents c742f7d + c3dac18 commit b019bf7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,26 @@
230230

231231
/* Responsive adjustments */
232232
@media (max-width: 768px) {
233+
.md-grid {
234+
max-width: 100% !important;
235+
margin: 0 !important;
236+
padding: 0 0 !important;
237+
}
238+
239+
.md-content__inner > p {
240+
padding-left: 10px;
241+
}
242+
243+
.md-typeset h1,
244+
.md-typeset h2,
245+
.md-typeset h3,
246+
.md-typeset h4,
247+
.md-typeset h5 {
248+
width: 100% !important;
249+
margin-left: 0 !important;
250+
padding-left: 5px !important;
251+
}
252+
233253
.image-modal-content {
234254
width: 95%;
235255
max-height: 85%;

0 commit comments

Comments
 (0)