123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- @media screen and (max-width: 400px) {
- .buku {
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin: 1em auto;
- width: 100%;
- }
- .buku__cover {
- width: 98%;
- margin: 0px auto;
- background-color: yellow;
- }
- img.cover {
- width: 100% !important;
- height: auto;
- }
- .buku__info {
- width: 98%;
- margin: 1em auto;
- }
- .info__desc, .info__h4 {
- width: 90%;
- padding: 0;
- }
- .info__h4, .info__author {
- padding-left: 14px;
- }
- ol, ul { width: 100% }
- .selayang{
- width: 99%;
- }
- img.layang {
- transform: none;
- }
- .selayang__cover:hover img.layang {
- transform: none;
- }
- }
- @media screen and (max-width: 800px) {
- .judul, .subtitle, .gray, p, blockquote, ol, ul, h3 {
- width: 95% !important;
- }
- .buku {
- width: 98%;
- }
- img, pre {
- width: 100%;
- display: block;
- }
- pre code {
- padding: 10px;
- display: block;
- hyphens: manual;
- white-space: pre-wrap;
- }
- .gray {
- text-align: center;
- }
- p, blockquote {
- text-align: justify;
- }
- .judul {
- font: 1.8em/1.4 var(--chunk);
- font-weight: 800;
- }
- .g__gals {
- grid-template-columns: 1fr;
- width: 90%;
- row-gap: 2%;
- }
- .masthead {
- width: 100%;
- }
- } /* < 600px */
- @media screen and (min-width: 600px) and (max-width: 800px) {
- .judul {
- font: 2.2em/1.4 var(--chunk);
- font-weight: bold;
- }
- } /* 600 - 800px */
|