@font-face{ font-family: "serif"; src:url('fonts/liberation-serif/LiberationSerif-Regular.ttf'); font-weight: normal; font-style: normal; } @font-face{ font-family: "serif"; src:url('fonts/liberation-serif/LiberationSerif-Italic.ttf'); font-weight: normal; font-style: italic; } @font-face{ font-family: "serif"; src:url('fonts/liberation-serif/LiberationSerif-Bold.ttf'); font-weight: bold; font-style: normal; } @font-face{ font-family: "serif"; src:url('fonts/liberation-serif/LiberationSerif-BoldItalic.ttf'); font-weight: bold; font-style: italic; } @font-face{ font-family: "headers"; src:url('fonts/arima-koshi/ArimaKoshi-Medium.otf'); font-weight: normal; font-style: normal; } @font-face{ font-family: "headers"; src:url('fonts/arima-koshi/ArimaKoshi-ExtraBold.otf'); font-weight: bold; font-style: normal; } body{ margin:0px; font-size: 14px; font-family: "headers"; background: linear-gradient(to bottom, #dcdeff, #ffd0cb, #dcdeff, #ffd0cb); word-break: normal; color:#3c0e02; display: flex; flex-direction: column; min-height: 100vh; } /* flex flow -- to keep the footer sticked at the bottom*/ section#content{ flex: 1; } h1{ font-size: 28px; line-height:40px; margin-top: 0.3em; margin-bottom: 0.3em; font-family: "headers"; font-weight: bold; } h2, h3, h4, h5, h6, h2 a, h3 a, h4 a{ font-family: "headers"; font-weight: bold; margin-bottom: 0; padding-bottom: 0; text-decoration: none; } h2{ border-bottom:1px solid; font-size: 12px; margin:10px 0 7px 0; } /* small headlines on index.html */ h2.break{ border-bottom:20px solid rgba(255, 255, 255, 0.48); margin:20px 20px 22px 20px; font-size: 12px; } h3{ font-size: 70%; border-bottom:1px solid; margin:0; font-weight: normal; } p{ margin: 0 0 1em 0; } a, a:visited, a:active{ color:black; } blockquote{ font-weight:bold; font-family: "headers"; font-weight: normal; } code{ font-family: monospace; font-size: 12px; padding:0 5px; } a, a:active, a:visited{ color:inherit; text-decoration: underline; } hr{ border:0; border-bottom:1px solid black; } em{ font-style: italic; } sup{ line-height: 0; } section{ width: 100%; padding:0; } /* outlined box around white blobs */ .box{ margin:20px 0 0 20px; padding:10px 20px; background-color: rgba(255, 255, 255, 0.48); } /* blobs */ #title, .post, .events h1{ border: 0; border-radius: 15px 50px; } #title{ background:linear-gradient(45deg, #dcdeffb4, #ffd0cb4d, #dcdeffb4, #ffd0cb4d); } .events h1{ background-color: white; } header{ position: relative; width: 100%; top:0; left:0; } #menu-wrapper{ position: relative; width: calc(100% - 242px); z-index: 1; } #title{ padding: 31px 40px; font-size: 32px; line-height: 1.35; } #title.main{ position: relative; z-index: 10; } #title a{ text-decoration: none; } #title select{ vertical-align: middle; color:black; padding: 0.25em 0 0.25em 0.5em; margin:0 0.9em 0 0.5em; z-index: 10; } #menu{ display: none; font-size: 12px; } #menu svg{ width:100%; } #menu path{ fill:transparent; } header #subtitle, header #logo{ position: absolute; top:0px; right:20px; width: 100px; height: 104px; padding:20px; text-align: center; font-family: 'serif'; font-size: 14px; font-weight: normal; line-height: 1.2; color:black; } header #logo img{ width: 100%; border: 1px solid; border-radius: 15px 50px; } header #logo{ display: none; } #content{ margin:0em; } #intro{ display: inline-block; width: calc(60% - 120px); font-size: 18px; line-height: 1.7; padding:30px 60px; } #intro #intro_wrapper{ margin: 5px 0px 0; } #intro em{ font-size: 95%; } .gallery{ display: inline-block; float: right; width: calc(40% - 60px); vertical-align: top; margin: 20px 20px 0 0; } h2.break#gallery{ margin:-4px 0 20px 0; } .gallery img{ float: left; width: 50%; border-radius: 15px 50px; } .post { position: relative; display: inline-block; width: calc(60% - 40px); left:20px; margin:0; clear: both; } .post:last-of-type{ margin-bottom:20px; } h2#posts{ width: 60%; } .post h1{ font-size: 18px; line-height: 1.3; margin-top:10px; } article{ margin-left: 10px; } .events .event{ display: inline-block; vertical-align: top; width: calc(33% - 86.5px); min-width: 240px; max-width: 600px; padding:30px; margin-top:20px; margin-bottom:20px; } .events h2.break{ margin-bottom:0; } .event a{ color:#3c0e02; text-decoration: none; } .events h1{ width: calc(100% - 92px); margin: -10px 10px 30px -10px; padding: 2em; text-align: center; } .entry-title a{ color:#3c0e02; text-decoration: none; } .entry-subtitle{ text-align:left; margin:0 0 15px; color:#3c0e02; font-size: 12px; } .entry-category{ font-weight: bold; } .entry-content #summary p:last-of-type{ display: inline; } .entry-content #summary a.readmore, .entry-content #summary a.readmore:active, .entry-content #summary a.readmore:visited{ color:#4d4b5d; } .entry-content{ font: 18px 'serif'; line-height: 28px; letter-spacing: 0.01em; padding:0 20px; color:black; } .entry-content img{ width: 100%; } .entry-content a{ text-decoration: underline; } .entry-content h2 a, .entry-content h3 a{ text-decoration: none; } .entry-readmore a{ text-decoration: underline; } .entry-tags a{ font-weight:bold; text-decoration: underline; color:#3c0e02; } .footnote{ font-size: 80%; color:black; } /* article pages */ #content.article{ width: calc(100% - 80px); margin:20px; } #content.article h1, #content.article h2, #content.article h3{ clear: both; } #content.article .entry-content{ font-size: 20px; letter-spacing: 0.03em; line-height: 1.7; max-width: 750px; margin:0 0 5em 50px; } #content.article .entry-content h1{ font-size: 115%; line-height: 1.25; margin: 1em 0 0; } #content.article .entry-title{ padding:1.5em 40px; background-color: white; border: 0; border-radius: 15px 50px; } #content.article .entry-subtitle{ margin:15px 0 40px 22px; } #content.article .entry-content iframe{ width: 100%; min-height: 32vw; } #content.article .entry-content .img{ width: 80%; margin:2em 0; font-family: sans-serif; font-size:12px; line-height: 1.4; } #content.article .entry-content .img img{ width: 100%; margin-bottom: 0.5em } #list{ margin:3em 0; clear: both; } #list ul, #list li{ list-style: none; padding:0; margin:2em 0; } #list .entry-title{ margin-top:0; /* reset */ margin-bottom:0; /* reset */ padding:1em 2em; } footer{ bottom:0; width: calc(100% - 40px); margin:0; padding:20px; left:0; background-color: black; color:white; clear:both; font-family: "serif"; font-size: 100%; line-height: 1.2; } footer p{ width: 200px; margin:0 20px 0 0; display: inline-block; vertical-align: top; } @media only screen and (max-width:666px) { body { width: calc(100% - 80px); } h1{ font-size: 26px; line-height: 1.4; } header #title{ line-height: 1.65; } header #title select{ margin-left:auto; } header #logo, header #subtitle{ position: relative; width: 100%; height: auto; top: 0; left: 0; margin: 20px 20px 0 20px; } #menu-wrapper, #intro, .events, .gallery .img a img, .gallery .img a, .post, footer, footer p, #content.article, #content.article .entry-content, #content.article .entry-content .img{ width: 100%; /*min-width: 100%;*/ } #intro{ width: calc(100% - 40px); padding:20px 40px; } .gallery h2.break, h2.break#posts, .events h2.break{ width: calc(50% + 20px); } .gallery{ position: relative; width: calc(100% + 40px); margin: 20px 0; float: none; left: 20px; } .events .event{ width: calc(100% - 20px); min-width: 0; margin-bottom:0; } .events .event:last-of-type{ margin-bottom:20px; } .gallery h2.break{ margin-top:20px; } #content.article .entry-content h1{ font-size: 120%; line-height: 1.25; margin: 20px 0 10px 0; } #content.article .entry-content{ font-size: 14px; line-height: 1.4; width: calc(100% + 5px); margin:0 0 0 -20px; } #content.article .entry-content blockquote{ margin:20px; } #content.article .entry-content a{ word-break:break-all; } #content.article .entry-content .footnote{ width: calc(100% - 20px); } #content.article .entry-subtitle{ width:calc(100% - 40px); } footer{ width: calc(100% + 40px); } footer p:first-of-type{ margin-bottom:10px; } }