Clean up swap files and trailing whitespaces

This commit is contained in:
Théophile Bastian 2017-10-19 21:43:31 +02:00
parent 6b51c7bd42
commit adcf615e5b
3 changed files with 12 additions and 37 deletions

View file

@ -82,7 +82,7 @@ header {
position: relative; position: relative;
padding-bottom: 30px; padding-bottom: 30px;
margin: 30px auto; margin: 30px auto;
&:after { &:after {
content: " "; content: " ";
position: absolute; position: absolute;
@ -113,15 +113,15 @@ header {
.minimenu { .minimenu {
display: none; display: none;
} }
ul.nav { ul.nav {
margin-bottom: 30px; margin-bottom: 30px;
li { li {
display: block; display: block;
font-weight: normal; font-weight: normal;
margin: 7px 0; margin: 7px 0;
a { a {
border: 1px solid $rouge; border: 1px solid $rouge;
background: $blanc; background: $blanc;
@ -129,11 +129,11 @@ header {
padding: 10px 0; padding: 10px 0;
display: block; display: block;
text-align: center; text-align: center;
@media screen and (min-width:$switchwidth) { @media screen and (min-width:$switchwidth) {
box-shadow: -2px 2px 0 $orange; box-shadow: -2px 2px 0 $orange;
transition: box-shadow 0.4s ease-out, transform 0.4s ease-out; transition: box-shadow 0.4s ease-out, transform 0.4s ease-out;
&:hover { &:hover {
box-shadow: -6px 6px 0 $orange; box-shadow: -6px 6px 0 $orange;
transform: translateX(2px) translateY(-2px); transform: translateX(2px) translateY(-2px);
@ -165,7 +165,7 @@ header {
font-family: $hfont; font-family: $hfont;
box-shadow: 0 0 0 rgba($rouge, 0); box-shadow: 0 0 0 rgba($rouge, 0);
transition: box-shadow 1s ease-out; transition: box-shadow 1s ease-out;
&:hover { &:hover {
box-shadow: 0 0 5px $rouge; box-shadow: 0 0 5px $rouge;
} }
@ -177,17 +177,17 @@ header {
margin-left: 30px; margin-left: 30px;
padding: 0 30px; padding: 0 30px;
max-width: 700px; max-width: 700px;
.publication-entry { .publication-entry {
display: flex; display: flex;
align-items: center; align-items: center;
position: relative; position: relative;
border-bottom: 1px solid lighten($bleu, 20%); border-bottom: 1px solid lighten($bleu, 20%);
&:first-child { &:first-child {
border-top: 1px solid lighten($bleu, 20%); border-top: 1px solid lighten($bleu, 20%);
} }
& > span { & > span {
padding: 7px 5px; padding: 7px 5px;
display: inline-block; display: inline-block;
@ -260,7 +260,7 @@ header {
justify-content: space-around; justify-content: space-around;
font-size: 0.95em; font-size: 0.95em;
margin-bottom: 10px; margin-bottom: 10px;
li { li {
display: inline-block; display: inline-block;
min-width: 150px; min-width: 150px;
@ -270,7 +270,7 @@ header {
} }
} }
} }
&.collapse { &.collapse {
ul { ul {
display: none; display: none;

View file

@ -1,25 +0,0 @@
/* Welcome to Compass.
* In this file you should write your main styles. (or centralize your imports)
* Import this file using the following HTML or equivalent:
* <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
@import "compass/reset";
@import "_colors.scss";
body, html {
background: $fond;
padding: 0;
margin: 0;
}
.container {
background: #fff;
margin: 0 auto;
max-width: 700px;
}
header {
background: #fff;
}