Skip to content

Commit c265dc8

Browse files
committed
responsive adjustments
1 parent 0d82497 commit c265dc8

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

site/assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/assets/stylus/style.styl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,15 @@ _____________________________________________________ */
238238
/* Code block
239239
_____________________________________________________ */
240240
.code-sh
241-
width 390px
241+
width 100%
242+
max-width 390px
242243
margin 0 auto
243244
font-size 16px
244245

246+
@media (max-width 600px)
247+
.code-sh
248+
font-size 14px
249+
245250
.code-sh .pre
246251
background-color code-background
247252
color code-default

site/assets/stylus/tab/tab.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
display inline-block
3030
padding 10px 60px
3131

32+
@media (max-width 600px)
33+
.tab-nav
34+
padding 10px
35+
3236
.tab-open
3337
.tab-nav:hover,
3438
.tab-open:checked ~ .tab-nav

0 commit comments

Comments
 (0)