/* BODY ------------------------------------------------------------ */ @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); @font-face { font-family: 'Press'; src: url("../font/PressStart2P-Regular.ttf") format("truetype"); font-display: block; } body { width: 100%; margin: 0; padding: 0; overflow-y: auto; overflow-x: hidden; font-family: arial; } /* SELECTION ------------------------------------------------------------ */ ::-moz-selection { color: #000; background: #54a27e; } ::selection { color: #000; background: #54a27e; } /* SCROLL ------------------------------------------------------------ */ ::-webkit-scrollbar { width: .8vw; } ::-webkit-scrollbar-track { background: rgba(84,162,126,0.2); } ::-webkit-scrollbar-thumb { background-color: #54a27e; } /* BLOG HEADER ------------------------------------------------------------ */ #blog { display: block; position: relative; width: 100%; } #blog article { display: block; clear: both; width: 99%; height: auto; margin: 0; padding: 0; color: #54a27e; font-size: 2.1vw; line-height: 3.7vw; word-break: break-all; } #blog article > span.press { display: block; margin: 0 0 1%; padding: .5% 0; background: #54a27e; color: #000; font-size: 2.1vw; font-weight: bold; line-height: 2.3vw; font-family: "Press", 'Press Start 2P', arial; } #blog article > img { display: inline-block; width: 18%; margin: .5%; padding: .5%; border: solid .1vw #54a27e; border-radius: 5%; -o-object-fit: cover; object-fit: cover; pointer-events: none; } #blog article > a { background: rgba(84,162,126,0.2); color: #fff; } #blog article > a:hover { background: #54a27e; color: #000; } /* TEXT DECORATION ------------------------------------------------------------ */ span.big:not(.press) { font-size: 3vw; line-height: 3.7vw; } span.small:not(.press) { font-size: 1.5vw; line-height: 3.7vw; } .highlight { background: #54a27e; color: #000; } /* BLOG FOOTER ------------------------------------------------------------ */ footer { display: flex; align-items: center; justify-content:space-between; clear: both; position: relative; width: 99%; height: auto; margin: 1% 0; padding: .5% 0; background: #54a27e; } footer div { width: 20%; height: 2vw; margin: 0; padding: .5%; } footer div > a { color: #000; font-size: 2vw; font-family: 'Press'; font-weight: bold; line-height: 1.8vw; text-decoration: none; } footer div > a:hover { color: #fff; } #righter { text-align: right; } /* FOR PORTRAIT ------------------------------------------------------------ */ @media screen and (orientation: portrait) { ::-webkit-scrollbar { width: 0; } #blog { display: block; position: relative; width: 100%; } #blog article{ clear: all; display: block; width: 98%; height: auto; margin: 0; padding: 1%; font-size: 3vw; line-height: 5vw; } #blog article > span.press{ font-size: 3vw; line-height: 3vw; } #blog article > img{ width: 30%; margin: 1%; padding: 1%; } span.big:not(.press) { font-size: 4vw; line-height: 4.7vw; } span.small:not(.press) { font-size: 2.1vw; line-height: 4.7vw; } footer{ margin: 1% 0; } footer div{ width: 50%; height: 3.2vw; padding: 1.5%; } footer div > a{ font-size: 3vw; line-heigt: 3.2vw; } }