blog/static/css/common.css

108 lines
1.6 KiB
CSS
Raw Normal View History

2021-01-24 23:24:49 +01:00
html {
2021-01-26 01:49:49 +01:00
height: 100%;
font-size: 20px;
font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
font-weight: 400;
text-rendering: optimizeLegibility;
2021-01-24 23:24:49 +01:00
}
body {
2021-01-26 01:49:49 +01:00
margin: 0;
width: 100%;
height: 100%;
2021-01-24 23:24:49 +01:00
}
a, a:visited {
2021-01-26 01:49:49 +01:00
color: #555;
border-bottom: 1px dashed #999;
text-decoration: none;
2021-01-24 23:24:49 +01:00
}
header {
2021-01-26 01:49:49 +01:00
display: flex;
align-items: center;
2021-02-05 02:17:23 +01:00
height: 3em;
2021-01-26 01:49:49 +01:00
padding: 0 .5em;
2021-02-05 02:17:23 +01:00
font-size: .9em;
2021-01-26 01:49:49 +01:00
box-shadow: 1px 3px 3px 0 #bbb;
}
header a {
2021-02-05 02:17:23 +01:00
color: initial;
opacity: .8;
text-decoration: none;
border-bottom: 0;
}
header .left a {
2021-01-26 01:49:49 +01:00
display: flex;
align-items: center;
2021-02-05 02:17:23 +01:00
color: initial !important;
opacity: .9;
}
header a:hover {
opacity: .6;
}
header .title {
font-family: 'Poppins', sans-serif;
margin-left: .333em;
2021-01-24 23:24:49 +01:00
}
2021-01-26 01:49:49 +01:00
header .left,
header .right {
display: inline-flex;
align-items: center;
width: 50%;
2021-01-24 23:24:49 +01:00
}
2021-01-26 01:49:49 +01:00
header .right {
display: inline-flex;
justify-content: right;
text-align: right;
2021-01-27 17:15:58 +01:00
direction: rtl;
2021-01-26 01:49:49 +01:00
opacity: .8;
2021-01-24 23:24:49 +01:00
}
header .icon {
2021-01-26 01:49:49 +01:00
background-size: 40px !important;
width: 40px;
height: 40px;
display: inline-flex;
}
header .left .icon {
2021-02-05 02:17:23 +01:00
width: 2.5em;
height: 2.5em;
margin-right: .5em;
2021-01-26 01:49:49 +01:00
}
header .right .icon {
background: url(/img/rss.png);
2021-01-24 23:24:49 +01:00
}
header .title {
2021-01-26 01:49:49 +01:00
display: inline-flex;
2021-01-24 23:24:49 +01:00
}
main {
2021-02-05 02:17:23 +01:00
height: calc(100% - 3em);
2021-01-26 01:49:49 +01:00
overflow: auto;
display: flex;
flex-direction: column;
align-items: center;
padding: 0 2em;
2021-01-24 23:24:49 +01:00
}
h1 {
2021-01-26 01:49:49 +01:00
font-size: 2em;
line-height: 1.2em;
2021-01-24 23:24:49 +01:00
}
h2 {
2021-01-26 01:49:49 +01:00
font-size: 1.5em;
line-height: 1.1em;
}