publik-base-theme/static/fondettes/_custom.scss

172 lines
2.7 KiB
SCSS

@import '../includes/fonts/raleway';
body {
background: transparent url(bg-header.jpeg) no-repeat scroll center top;
}
div#main-content-wrapper {
/* this is required to avoid header and footer images getting on top of
* each other */
min-height: 800px;
}
#footer {
max-width: $width;
margin: 0 auto;
}
#logo a {
background: url(logo1.png) no-repeat -42px 100%;
display: inline-block;
padding-top: 39px;
width: 320px;
text-indent: -10000px;
}
div#footer-wrapper {
box-sizing: content-box;
max-width: none;
background: transparent url(footer-repeat.png) repeat-x scroll 0% 0%;
height: 150px;
padding: 1ex 0 0 0;
position: relative;
}
#footer-wrapper:before{
background: url(footer-img.jpeg) no-repeat bottom center;
content: " ";
height: 530px;
width: 100%;
display: block;
position: absolute;
z-index: -1;
bottom:162px;
}
#footer {
position: relative;
}
#footer:after {
background: transparent url("fondettes-logo-footer.png") no-repeat scroll center bottom;
position: absolute;
top: 0;
right: 20px;
content: " ";
z-index: 100;
display: block;
width: 286px;
height: 115px;
}
#toplinks {
background: white;
border-color: $nav-menu-color;
}
#logo {
padding-top: 10px;
}
div.linkcell div.links-list ul > li > a {
@extend %button;
text-align: center;
display: block;
margin: 0 auto;
font-weight: bold;
height: auto;
border-radius: $border-radius;
padding: 1ex 0;
color: white;
}
div.footer-content > div > div {
float: left;
font-size: 80%;
width: 16.9%;
}
div.footer-content div {
color: white;
h2 {
font-family: Raleway;
font-weight: bold;
font-size: 1em;
line-height: 120%;
text-align: left;
text-transform: uppercase;
text-shadow: 1px 1px 0px #333;
margin-bottom: 20px;
}
p {
font-size: 0.9em;
text-shadow: 1px 1px 0px #2F6BA1;
font-weight: 400;
line-height: 100%;
margin: 0px;
padding: 5px 0px;
text-align: left;
}
a {
text-decoration: none;
color: #FFF;
text-shadow: 1px 1px 0px #2F6BA1;
}
ul {
margin: 0;
list-style: none;
padding: 0;
}
}
@media screen and ($max-mobile-viewport) {
body {
padding-top: 5px;
background-position: 0 5px;
}
#toplinks {
padding: 0;
max-width: none;
border: none;
width: 100%;
padding-bottom: 3px;
right: 0;
border-radius: 0;
}
#logo {
padding-top: 20px;
}
#logo a {
background-size: 100%;
width: 230px;
background-position: -20px 0px;
}
#footer:before,
#footer:after {
display: none;
}
#footer div img,
#footer div h2 {
display: none;
}
div.footer-content {
}
div.footer-content > div > div {
padding-left: 2em;
width: 33%;
padding-top: 37px;
}
}
@media screen and (max-width: 400px) {
.connected-user {
display: none;
}
}