add theme for lot (cd46) (#30519)
This commit is contained in:
parent
a812976c19
commit
64c8678595
|
@ -0,0 +1,169 @@
|
|||
#toplinks {
|
||||
transition: all ease 0.2s;
|
||||
left: 79vw;
|
||||
top: -1rem;
|
||||
font-size: 90%;
|
||||
width: 15vw;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
#header {
|
||||
transition: all ease 0.2s;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
h1 {
|
||||
margin-top: 0.4rem;
|
||||
a {
|
||||
transition: all ease 0.2s;
|
||||
padding-left: 80px;
|
||||
background: url(img/logo.png) left center no-repeat;
|
||||
background-position: 0px center;
|
||||
background-size: 60px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
display: block;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
text-align: right;
|
||||
padding-right: 1rem;
|
||||
border-bottom: 1px solid #aaa;
|
||||
z-index: 10;
|
||||
margin-top: 0;
|
||||
& > ul {
|
||||
transition: all ease 0.2s;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
li > a {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#main-content-wrapper {
|
||||
z-index: 0;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
|
||||
body.has-picture {
|
||||
div#main-content-wrapper {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
nav::after {
|
||||
transition: all ease 0.2s;
|
||||
top: -2rem;
|
||||
@media screen and (max-width: $mobile-limit) {
|
||||
top: -16px;
|
||||
height: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
body.scrolled {
|
||||
#toplinks {
|
||||
top: -2rem;
|
||||
}
|
||||
header #header,
|
||||
div#nav > ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
header #header h1 a {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background-position: 10px center;
|
||||
background-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
#logo a {
|
||||
color: $primary-color;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $mobile-limit) {
|
||||
div#nav, header {
|
||||
background: $darkgreen;
|
||||
text-align: left;
|
||||
position: static;
|
||||
width: auto;
|
||||
padding-right: 0;
|
||||
border-bottom: 0;
|
||||
#header h1 {
|
||||
margin-top: 0rem;
|
||||
}
|
||||
#header h1 a {
|
||||
padding-left: 0;
|
||||
text-indent: -10000px;
|
||||
}
|
||||
}
|
||||
#nav-wrapper {
|
||||
margin-top: -68px;
|
||||
}
|
||||
|
||||
header #header,
|
||||
div#nav > ul {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
div#main-content-wrapper {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#toplinks {
|
||||
right: 1vw;
|
||||
left: auto;
|
||||
top: -2rem;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
div.cell,
|
||||
div.comment-field {
|
||||
&.fond-vert, &.fond-marron {
|
||||
&.comment-field {
|
||||
padding: 0.5rem 0.5rem;
|
||||
}
|
||||
padding-bottom: 0.5rem;
|
||||
color: white;
|
||||
h2:first-child, h3:first-child {
|
||||
margin-top: 0;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
border-color: white;
|
||||
}
|
||||
}
|
||||
&.fond-vert {
|
||||
background: $darkgreen;
|
||||
h2:first-child, h3:first-child {
|
||||
background: $darkgreen;
|
||||
}
|
||||
}
|
||||
&.fond-marron {
|
||||
background: #805838;
|
||||
h2:first-child, h3:first-child {
|
||||
background: #805838;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
$font-family: Ubuntu, sans-serif;
|
||||
$font-size: 14px;
|
||||
$font-color: #333;
|
||||
$darkgreen: #6C9724;
|
||||
$lightgreen: #9BC23E;
|
||||
$primary-color: $darkgreen;
|
||||
$border-radius: 0px;
|
||||
|
||||
$nav-background: $darkgreen;
|
||||
$nav-color: white;
|
||||
$nav-active-color: $lightgreen;
|
||||
$nav-submenu-background: #eeeeee;
|
||||
$nav-submenu-color: $font-color;
|
||||
$nav-after-image-height: 400px;
|
||||
|
||||
$button-background: $primary-color;
|
||||
$cell-border: 1px solid transparent;
|
||||
$title-color: $darkgreen;
|
||||
$title-weight: 500;
|
||||
$title-font-size: 30px;
|
||||
$title-border-bottom: 2px solid $primary-color;
|
||||
$title-border-radius: 0;
|
||||
$title-padding: 0.7rem 0.5rem;
|
||||
|
||||
$form-style: light;
|
||||
$notification-style: border-icon;
|
||||
|
||||
$footer-background: #777777;
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"label": "Lot (CD46)",
|
||||
"variables": {
|
||||
"theme_color": "#6C9724"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
|
@ -0,0 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import '../includes/font-ubuntu';
|
||||
@import 'custom';
|
Loading…
Reference in New Issue