diff --git a/static/castries/_custom.scss b/static/castries/_custom.scss new file mode 100644 index 00000000..fb9d0eb6 --- /dev/null +++ b/static/castries/_custom.scss @@ -0,0 +1,59 @@ +body { + background: #fafafa url(img/fond.jpg) top center no-repeat; + background-attachment: fixed; + background-size: cover; + padding: 50px 0 20px 0; + @media screen and (max-width: $mobile-limit) { + padding: 0; + } +} + +div#page { + background: white; + max-width: $width; + margin: 0 auto; + box-shadow: 0 0px 2px rgba(0, 0, 0, 0.27); + border-radius: 2 * $border-radius; + header, nav, #main-content-wrapper { + box-sizing: border-box; + padding: 0 20px; + @media screen and (max-width: $mobile-limit) { + padding: 0; + } + } +} + +#header { + h1 { + padding-top: 20px; + a { + display: block; + background: url(img/logo_ville.png) top left no-repeat; + height: 80px; + text-indent: -1000px; + overflow: hidden; + } + @media screen and (max-width: $mobile-limit) { + padding-left: 0; + a { + width: 100%; + } + } + } +} + +footer { + div.textcell a { + color: white; + } +} + +#footer-wrapper { + border-radius: 0 0 2 * $border-radius 2 * $border-radius; +} + +@media screen and (max-width: $mobile-limit) { + .gru-nav-wrapper { + margin-top: -40px; + } +} diff --git a/static/castries/_vars.scss b/static/castries/_vars.scss new file mode 100644 index 00000000..183e1473 --- /dev/null +++ b/static/castries/_vars.scss @@ -0,0 +1,16 @@ +$primary-color: #3129b3; + +$font-color: #3F3F3F; +$font-size: 16px; +$font-family: "Times New Roman", serif; +$width: 1000px; +$border-radius: 5px; + +$nav-background: #9cbc12; +$nav-color: white; +$nav-active-color: darken($nav-background, 10%); +$button-background: #9cbc12; +$title-background: darken($nav-background, 10%); +$title-color: white; +$footer-background: #575757; +$footer-color: white; diff --git a/static/castries/config.json b/static/castries/config.json new file mode 100644 index 00000000..309a3e18 --- /dev/null +++ b/static/castries/config.json @@ -0,0 +1,6 @@ +{ + "label": "Castries", + "variables": { + "theme_color": "#3129b3" + } +} diff --git a/static/castries/img/fond.jpg b/static/castries/img/fond.jpg new file mode 100644 index 00000000..fc1a8a99 Binary files /dev/null and b/static/castries/img/fond.jpg differ diff --git a/static/castries/img/logo_ville.png b/static/castries/img/logo_ville.png new file mode 100644 index 00000000..59fc7ef1 Binary files /dev/null and b/static/castries/img/logo_ville.png differ diff --git a/static/castries/style.scss b/static/castries/style.scss new file mode 100644 index 00000000..1fd447de --- /dev/null +++ b/static/castries/style.scss @@ -0,0 +1,5 @@ +@charset "UTF-8"; + +@import 'vars'; +@import '../includes/publik'; +@import 'custom';