Skip to content

Commit

Permalink
Apply the right config to the bg pic
Browse files Browse the repository at this point in the history
  • Loading branch information
rim99 committed Jun 11, 2017
1 parent 29764c0 commit 54354a8
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions _static/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ h3 {
position: relative;
background: rgb(46,59,117);
color: #fff;
}

.sidebar.pure-u-1.pure-u-md-1-4 {
background-repeat:no-repeat;
background-position: -34em 3em;
background-position: -34em 100%;
background-image: url(/static/side_background.jpg);
}

.sidebar a {
text-decoration: none;
color: #FFE4B5;
Expand Down Expand Up @@ -526,7 +528,7 @@ h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, h5:h
color: #4d85d1;
}

/*
/*
computer
*/
@media (min-width: 72em) {
Expand All @@ -544,7 +546,6 @@ computer
position: fixed;
top: 0;
bottom: 0;
background-position: -34em 100%;
}
li.prev {
margin-left: 6%;
Expand All @@ -555,7 +556,7 @@ computer
}

/*
tablet
tablet
*/
@media (min-width: 48em) and (max-width: 71.99em) {
.sidebar {
Expand All @@ -568,7 +569,7 @@ tablet
margin-left: 5%;
width: 90%;
}


h1.brand-title {
font-size: 170%;
Expand All @@ -586,11 +587,11 @@ tablet
li.prev {
margin-left: -2.5%;
}

li.next {
margin-right: 7%;
}

div.licence {
margin: 15% 10% 15% 10%;
}
Expand Down Expand Up @@ -631,8 +632,8 @@ tablet
}


/*
Cellphone
/*
Cellphone
*/
@media (max-width: 47.99em) {
input.pure-input-3-3 {
Expand All @@ -648,11 +649,11 @@ Cellphone
li.prev {
margin-left: -4%;
}

li.next {
margin-right: 4%;
}

div.licence {
margin: 15% 10% 5% 10%;
}
Expand All @@ -667,4 +668,4 @@ Cellphone
font-size: 2em;
margin-top: 0;
}
}
}

0 comments on commit 54354a8

Please sign in to comment.