mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 04:16:38 -04:00
Add mobile improvements to manual CSS
This commit is contained in:
parent
2cc479679c
commit
96dc9b19b8
1 changed files with 13 additions and 5 deletions
|
@ -149,7 +149,8 @@ code.marc{
|
|||
border: 1px solid var(--border);
|
||||
background: #333;
|
||||
border-radius: .25rem;
|
||||
white-space: nowrap;
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
padding: 0 .25rem;
|
||||
color: #fff;
|
||||
margin: 0 .2rem;
|
||||
|
@ -549,10 +550,6 @@ figure.corrected code{
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.manual table td code.path{
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.manual aside.tip{
|
||||
font-style: italic;
|
||||
margin: 1rem 0;
|
||||
|
@ -771,3 +768,14 @@ main.manual aside.alert p{
|
|||
margin-left: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: 500px){
|
||||
.manual h1,
|
||||
.manual h2,
|
||||
.manual h3,
|
||||
.manual h4,
|
||||
.manual h5,
|
||||
.manual h6{
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue