112 lines
1.6 KiB
CSS
112 lines
1.6 KiB
CSS
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100vh;
|
|
font-size: 20px;
|
|
font-family: 'Fira Sans', sans-serif;
|
|
/*font-family: "Asap", "Helvetica Neue", Helvetica, "Segoe UI", Tahoma, Arial, sans-serif;*/
|
|
/*font-family: BlinkMacSystemFont, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, Helvetica, Arial, sans-serif;*/
|
|
font-weight: 400;
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
/* ------ */
|
|
/* Header */
|
|
/* ------ */
|
|
header {
|
|
width: 100%;
|
|
height: 3em;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: .9em;
|
|
box-shadow: 3px 0 3px 2px #ccc;
|
|
}
|
|
|
|
header .name {
|
|
font-family: 'Poppins', sans-serif;
|
|
margin-left: .333em;
|
|
}
|
|
|
|
header .item {
|
|
margin: 0 1em;
|
|
}
|
|
|
|
header a {
|
|
color: initial;
|
|
opacity: .8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
header a:hover {
|
|
opacity: .5;
|
|
}
|
|
|
|
header a.logo {
|
|
opacity: .9;
|
|
}
|
|
|
|
header a.logo:hover {
|
|
opacity: .75;
|
|
}
|
|
|
|
header .left,
|
|
header .right {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 50%;
|
|
}
|
|
|
|
header .right {
|
|
justify-content: right;
|
|
}
|
|
|
|
header .logo {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
header .logo img {
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
margin: auto .5em;
|
|
}
|
|
|
|
/* ---- */
|
|
/* Main */
|
|
/* ---- */
|
|
main {
|
|
height: calc(100% - 3em);
|
|
overflow: auto;
|
|
line-height: 1.5em;
|
|
color: rgb(75, 75, 75);
|
|
text-rendering: optimizelegibility;
|
|
}
|
|
|
|
main section {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
main section:nth-child(even) {
|
|
background: #ecffec;
|
|
}
|
|
|
|
main section .title {
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
padding: 1em 0;
|
|
}
|
|
|
|
main section .left,
|
|
main section .right {
|
|
width: calc(50% - 2em);
|
|
padding: 1em;
|
|
}
|
|
|
|
main section img {
|
|
width: 100%;
|
|
}
|