370 lines
4.5 KiB
CSS
370 lines
4.5 KiB
CSS
body {
|
|
font-family: "Arial", Gadget, sans-serif;
|
|
counter-reset: heading;
|
|
margin: 0;
|
|
}
|
|
|
|
.main {
|
|
margin: auto;
|
|
max-width: 48em;
|
|
}
|
|
|
|
.main .header-bar {
|
|
padding: 1em 0.2em 0.3em 0.2em;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
figure {
|
|
margin: 0em;
|
|
}
|
|
|
|
figcaption {
|
|
text-align: center;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
iframe {
|
|
max-width: 42em;
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
li {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
font-weight: normal;
|
|
}
|
|
h2 {
|
|
font-size: 1.5em;
|
|
font-weight: normal;
|
|
}
|
|
h3 {
|
|
font-size: 1.17em;
|
|
font-weight: normal;
|
|
}
|
|
h4 {
|
|
font-size: 1.12em;
|
|
font-weight: normal;
|
|
}
|
|
h5 {
|
|
font-size: .83em;
|
|
font-weight: normal;
|
|
}
|
|
h6 {
|
|
font-size: .75em;
|
|
font-weight: normal;
|
|
}
|
|
|
|
a:active, a:focus {
|
|
outline-style: solid;
|
|
outline-width: thin;
|
|
}
|
|
|
|
header {
|
|
justify-content: space-around;
|
|
}
|
|
|
|
/* navigation */
|
|
nav {
|
|
text-align: center;
|
|
}
|
|
|
|
nav .links {
|
|
display: -webkit-flex;
|
|
-webkit-justify-content: space-between;
|
|
-webkit-flex-flow: column;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-flow: column;
|
|
}
|
|
|
|
.nav-item {
|
|
font-size: 1.2em;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.nav-item-title {
|
|
padding: 0.2em;
|
|
}
|
|
|
|
.nav-item-title:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
pre {
|
|
margin: 1em 0em 1em;
|
|
padding: 0.5em 0.5em 0.5em;
|
|
}
|
|
|
|
code {
|
|
white-space: pre-wrap; /* Since CSS 2.1 */
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
white-space: -pre-wrap; /* Opera 4-6 */
|
|
white-space: -o-pre-wrap; /* Opera 7 */
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
code, pre {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
pre code {
|
|
border-radius: 0px;
|
|
}
|
|
|
|
blockquote {
|
|
padding: 0.5em;
|
|
padding-left: 1em;
|
|
border-left: 3px solid;
|
|
}
|
|
|
|
th, td {
|
|
padding: 0.5em;
|
|
}
|
|
|
|
|
|
/* site title */
|
|
.siteTitle {
|
|
font-size: 2.5em;
|
|
margin-bottom: 0.2em;
|
|
}
|
|
|
|
.siteTitle a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.articleheader_data {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.post .title {
|
|
text-align: center;
|
|
}
|
|
|
|
.post .content{
|
|
padding-left : 1em;
|
|
padding-right : 1em;
|
|
padding-bottom : 0.5em;
|
|
}
|
|
|
|
.post {
|
|
margin-top : 1.5em;
|
|
margin-bottom : 1.5em;
|
|
}
|
|
|
|
.post .content h1{
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.post .content h2{
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.post .content h3{
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.post .content h4{
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.post .content h5{
|
|
margin: 1em 0em;
|
|
}
|
|
|
|
.post .content p{
|
|
}
|
|
|
|
.post-footer-data {
|
|
padding: 1em;
|
|
}
|
|
|
|
.post-footer hr {
|
|
width: 100%;
|
|
}
|
|
|
|
.post-footer .nav-bar {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
|
|
.post-footer .nav-bar .link-next {
|
|
text-align: right;
|
|
display: table-cell;
|
|
float: none;
|
|
width: 50%;
|
|
}
|
|
|
|
.post-footer .nav-bar .link-previous {
|
|
text-align: left;
|
|
display: table-cell;
|
|
float: none;
|
|
width: 50;
|
|
}
|
|
|
|
.post-footer-menu {
|
|
justify-content: space-between;
|
|
font-size: 0.8em;
|
|
margin: 0.5em 4em;
|
|
}
|
|
|
|
.post-prev a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.post-next a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.post-home a {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.copyright {
|
|
font-size: smaller;
|
|
text-align: center;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.err-404 {
|
|
margin: 3em;
|
|
text-align: center;
|
|
}
|
|
|
|
.content-list {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.content-item a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* summary list on main page */
|
|
|
|
.post-preview {
|
|
text-decoration: none;
|
|
padding: 0.5em 0.5em 1em 0.5em;
|
|
margin-top: 1.5em;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.post-preview .title {
|
|
margin-top: 0.3em;
|
|
margin-bottom: 0.3em;
|
|
}
|
|
|
|
.post-preview a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.post-preview .summary {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
padding-top: 0.5em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.post-preview .summary p {
|
|
margin-block-start: 0.5em;
|
|
margin-block-end: 0.5em;
|
|
margin-inline-start: 0.em;
|
|
margin-inline-end: 0em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.rmore {
|
|
margin-top: 0.5em;
|
|
white-space:nowrap;
|
|
text-align: right;
|
|
}
|
|
|
|
.rmore a {
|
|
border-radius: 0.2em;
|
|
padding: 0.3em;
|
|
}
|
|
|
|
.page-nav {
|
|
text-align: center;
|
|
padding: 1em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.page-nav a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page-num {
|
|
text-align: center;
|
|
margin-left: 1em;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.content-list-title {
|
|
text-align: center;
|
|
margin-bottom: 0em;
|
|
}
|
|
|
|
.content-list-title a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sitemap {
|
|
margin: auto;
|
|
width: 50%;
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
table {
|
|
margin: 1em auto;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table, th, td {
|
|
border: 1px solid;
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 400px) {
|
|
|
|
header:after {
|
|
content: "";
|
|
clear: both;
|
|
display: table;
|
|
}
|
|
|
|
nav .links {
|
|
float: right;
|
|
display: block;
|
|
}
|
|
|
|
.siteTitle {
|
|
float: left;
|
|
}
|
|
|
|
.nav-item-title {
|
|
font-size: 0.85em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
}
|