1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 02:12:53 +00:00

New post - more css changes (date)

This commit is contained in:
2016-08-25 23:52:53 -05:00
parent a2642c39b2
commit 58fb665ce2
8 changed files with 82 additions and 39 deletions

View File

@@ -0,0 +1,26 @@
.Content {
flex: 1;
.post + .post {
margin-top: 2em;
}
.date {
display: block;
margin: 0;
opacity: 0.7;
@media (min-width: 1200px){
position: absolute;
width: 7em;
text-align: right;
margin-left: -9em;
}
}
.intro {
margin-bottom: 0.5em;
}
img {
max-width: 100%;
height: auto;
margin: auto;
}
}

View File

@@ -1,12 +0,0 @@
.Preview {
.post + .post {
margin-top: 2em;
}
.date {
margin: 0;
opacity: 0.7;
}
.intro {
margin-bottom: 0.5em;
}
}

View File

@@ -17,6 +17,7 @@ h5,
h6 {
margin: 0;
font-weight: 400;
line-height: 1em;
}
p {
font-weight: 300;
@@ -37,8 +38,13 @@ a {
}
}
code,
pre{
white-space: pre-wrap;
pre {
white-space: pre-wrap;
}
hr {
margin: 1em;
border: 0;
border-top: 1px solid #eee;
}
.Layout {
height: 100%;
@@ -59,14 +65,6 @@ pre{
.Main {
padding-top: 1em;
}
.Content {
flex: 1;
img{
width: 100%;
height: auto;
}
}
.Header {
width: 100%;
background: url("../images/header.jpg");