Skip to content

Instantly share code, notes, and snippets.

@benp
Last active August 29, 2015 14:16
Show Gist options
  • Save benp/7d27d0100900bd64eca0 to your computer and use it in GitHub Desktop.
Save benp/7d27d0100900bd64eca0 to your computer and use it in GitHub Desktop.
ajouts less pour jefaismtl
/* alignement vertical des titres sur fond rayé */
.page-header-container {
padding: 100px 30px;
position: relative;
}
.page-header {
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
/* slider - nécessiterait probablement une modif du js? laisser tomber si c'est trop compliqué */
.project-carousel {
ul {
li {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
}
}
/* pager projets */
.pagination {
li {
display: inline-block;
padding: 5px 10px;
a {
border-radius: 0;
padding: 0;
margin: 6px 5px;
&:hover,
&:active {
background: transparent;
border-bottom: 2px solid;
color: #ef3b33;
margin-bottom: 4px;
}
&:after {
position: absolute;
left: 10px;
padding: 0;
margin: 0 5px 0 14px;
}
}
&.active {
a {
border-bottom: 2px solid;
margin-bottom: 4px;
}
}
}
}
/* misc */
body {
font-size: 16px;
}
.node-project {
.fiche-toggle {
font-size: 20px;
}
h3 {
font-size: 24px;
}
}
.dropdown-menu {
li {
a {
color: #666666 !important;
font-size: 16px;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment