website/v2/css/style.css
2021-04-16 01:12:41 +02:00

70 lines
1.2 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
:root{
--text-color: black;
}
*{
box-sizing: border-box;
padding: 0px;
margin: 0px;
}
html{
height: 100%;
}
body{
font-family: 'Open Sans', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.header{
display: flex;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.header .left{
display: flex;
gap: 1rem;
}
.header a{
text-decoration: underline;
color: var(--text-color);
}
.header .jmeno{
text-align: center;
}
.header > *{
width: 100%;
}
.header .right{
text-align: right;
}
.wrapper{
margin-right: auto;
margin-left: auto;
max-width: 80%;
padding-right: 10px;
padding-left: 10px;
}
.page > *{
margin-bottom: 3rem;
}
.projects > *:not(:first-child){
margin-bottom: 1rem;
}
.projects > :first-child{
margin-bottom: .5rem;
}
.footer{
display: flex;
flex-direction: column;
align-items: center;
margin-top: auto;
}
.footer .text{
font-size: 1.3rem;
}
.footer .links a{
color: var(--text-color);
text-decoration: underline;
}