1
0
Fork 0

Added stylesheet

This commit is contained in:
Lars Martens 2017-05-19 17:54:38 +02:00
parent 24f0119823
commit f768dd61b6
2 changed files with 70 additions and 6 deletions

64
base.css Normal file
View file

@ -0,0 +1,64 @@
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:300|Roboto');
*{
margin: 0;
padding: 0;
}
body{
font-family: 'Roboto', sans-serif;
font-family: sans-serif;
background-image: url("bg.png");
}
a {
text-decoration: underline;
font-style: italic;
color: black;
}
.article{
display: block;
color: black;
padding: 50px;
border-bottom: 1px dashed #d5d5d5;
text-decoration: none;
font-style: normal;
}
.article:last-child{
border: none;
}
.article h1{
margin-bottom: 5px;
font-family: 'Josefin Sans', sans-serif;
}
.article img{
max-width: 100%;
}
.content *{
margin-bottom: 1em;
}
.content *:last-child{
margin-bottom: 0;
}
.center{
text-align: center;
}
.wrap{
margin: 0 auto;
}
@media (min-width: 650px){
.wrap{
width: 80%;
}
}
@media (min-width: 900px){
.wrap{
width: 50%;
}
}

View file

@ -12,7 +12,7 @@
<link rel="icon" type="image/png" href="g/ic_edit.png"> <link rel="icon" type="image/png" href="g/ic_edit.png">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="http://haselkern.com/g/base.css"> <link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>