fixed images and figures
This commit is contained in:
parent
54900c3346
commit
a33fbe3110
1 changed files with 8 additions and 2 deletions
|
@ -138,8 +138,14 @@ section > footer {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#full > article pre {
|
#full > article pre {
|
||||||
|
@ -147,13 +153,13 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (width: 320px) {
|
@media screen and (width: 320px) {
|
||||||
#full > article > * {
|
#full > article * {
|
||||||
max-width: 300px !important;
|
max-width: 300px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (width: 480px) {
|
@media screen and (width: 480px) {
|
||||||
#full > article > * {
|
#full > article * {
|
||||||
max-width: 460px !important;
|
max-width: 460px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue