193 lines
4.1 KiB
CSS
193 lines
4.1 KiB
CSS
*{
|
|
margin: 0px;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
opacity: 1;
|
|
color: white;
|
|
text-decoration: none;
|
|
background-repeat: no-repeat;
|
|
background-attachment: fixed;
|
|
background-size: 19200px 10800px;
|
|
/*background-size: 100vw 56vw;
|
|
background-size: 100vmax 100vmax;*/
|
|
backface-visibility: hidden;
|
|
|
|
}
|
|
body{
|
|
background-color: #333333;
|
|
background: url("../assets/bgmobile.png") no-repeat 0vh 0vh fixed;
|
|
background-position: 0 0;
|
|
background-size: cover;
|
|
display: flex;
|
|
min-height: 100%;
|
|
height: 100vh;
|
|
flex-direction: column;
|
|
padding-bottom: 16px;
|
|
box-sizing: border-box;
|
|
overflow-y: overlay
|
|
}
|
|
main{
|
|
height: 100%;
|
|
}
|
|
header, main, footer
|
|
{
|
|
margin: 0px;
|
|
width: 100px;
|
|
height: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
header{
|
|
margin-top: 16px;
|
|
min-height: 60px;
|
|
width: auto;
|
|
margin-left: auto; margin-right: auto;
|
|
background-color: green;
|
|
}
|
|
footer{
|
|
display:block;
|
|
float: bottom;
|
|
justify-self: flex-end;
|
|
text-align: center;
|
|
min-height: 30px;
|
|
margin: auto;
|
|
background-color: red;
|
|
margin-top: 32px;
|
|
width: auto;
|
|
box-sizing: content-box;
|
|
margin-bottom: 16px;
|
|
/*Make padding go inside the element rather than making it bigger*/
|
|
padding: 16px;
|
|
|
|
}
|
|
nav{
|
|
text-align: center;
|
|
}
|
|
header nav a{
|
|
text-align: center;
|
|
margin-top: auto; margin-bottom: auto;
|
|
line-height: 60px;
|
|
padding: 10px;
|
|
font-size: 28px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
footer h1{
|
|
line-height: 30px;
|
|
font-size: 20px;
|
|
font-weight: 300;
|
|
}
|
|
h1{
|
|
font-size: 25px;
|
|
}
|
|
p{
|
|
font-size: 18px;
|
|
}
|
|
.redlink{
|
|
color:#ff4444;
|
|
}
|
|
.min-size{
|
|
min-width: 200px;
|
|
}
|
|
.longboi{
|
|
min-width: 60vw;
|
|
}
|
|
.blur{
|
|
padding: 16px;
|
|
border-radius: 10px;
|
|
box-shadow: 10px 10px 15px #000000;
|
|
background-blend-mode: hard-light;
|
|
background-attachment: fixed;
|
|
background-size: cover;
|
|
}
|
|
|
|
.flex{
|
|
/*Set display mode to flexbox*/
|
|
display:inline-flex;
|
|
/*Make the element stretch to the bottom of the page pushing the footer down*/
|
|
flex: 1 0 auto;
|
|
flex-grow: 1;
|
|
/*Make flex items wrap around*/
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
.flexrow{
|
|
/*Set display mode to flexbox*/
|
|
display:inline-flex;
|
|
/*Make the element stretch to the bottom of the page pushing the footer down*/
|
|
flex-shrink: 1;
|
|
/*Make flex items wrap around*/
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
.flexcolumn{
|
|
width: inherit;
|
|
/*Set display mode to flexbox*/
|
|
display:flex;
|
|
/*Make the element stretch to the bottom of the page pushing the footer down*/
|
|
flex: 1 0 auto;
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
-moz-box-flex: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
main{
|
|
margin-top: 16px;
|
|
margin-left: auto; margin-right: auto;
|
|
width: 100%;
|
|
align-items: center;
|
|
/*Make padding go inside the element rather than making it bigger*/
|
|
/*padding: 16px;*/
|
|
}
|
|
.transparant{
|
|
background-color: #FFFFFF55;
|
|
}
|
|
article{
|
|
display: inline-block;
|
|
margin: 16px;
|
|
max-width: 100vw;
|
|
max-height: auto;
|
|
word-wrap: break-word;
|
|
}
|
|
audio{
|
|
margin-top: 8px;
|
|
width: 60vw;
|
|
}
|
|
.project{
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
display: inline-block;
|
|
max-width: 300px;
|
|
text-align: center;
|
|
margin: 16px;
|
|
margin-top: 16px;
|
|
align-self: space-between;
|
|
}
|
|
.project:hover{
|
|
filter: brightness(1.5);
|
|
}
|
|
.project:hover, .screenshot:hover{
|
|
box-shadow: 0px 0px 50px white;
|
|
}
|
|
.screenshot{
|
|
margin-left: auto; margin-right: auto;
|
|
margin-top: 32px;
|
|
margin-bottom: 32px;
|
|
box-shadow: 0px 0px 50px black;
|
|
width: 50%;
|
|
box-sizing: border-box;
|
|
align-self: center;
|
|
}
|
|
.screenshotparent{
|
|
text-align: center;
|
|
}
|
|
.nowrap{
|
|
white-space: nowrap;
|
|
}
|
|
.profielfoto{
|
|
display: block;
|
|
align-self: center;
|
|
justify-self: center;
|
|
margin-left: auto; margin-right: auto;
|
|
} |