Skip to content
Snippets Groups Projects
Commit 689c099e authored by Olivier Lumineau's avatar Olivier Lumineau
Browse files

Removing css background rule

parent f5dff7a1
No related branches found
No related tags found
No related merge requests found
...@@ -3,17 +3,6 @@ ...@@ -3,17 +3,6 @@
* 2013 - 2018 / RENATER * 2013 - 2018 / RENATER
*/ */
/*FONTS*/
@font-face {
font-family: "foobar_proregular";
font-style: normal;
font-weight: normal;
src: url("../../lib/core/font/foobar_pro-regular-webfont.eot?#iefix") format("embedded-opentype"),
url("../../lib/core/font/foobar_pro-regular-webfont.woff") format("woff"),
url("../../lib/core/font/foobar_pro-regular-webfont.ttf") format("truetype");
}
* { /* Proportional fonts */ * { /* Proportional fonts */
font-family: 'LatoWeb', sans-serif; font-family: 'LatoWeb', sans-serif;
font-size: 1rem; font-size: 1rem;
...@@ -37,32 +26,8 @@ body { ...@@ -37,32 +26,8 @@ body {
line-height: 1; line-height: 1;
background-color: #fff; background-color: #fff;
padding-bottom: 80px; padding-bottom: 80px;
background-image: url('../images/background.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 0 0; /* image should not be drawn here */
z-index:1; z-index:1;
} }
.background {
display: block;
position: fixed;
width: 100vw;
height: 100vh;
padding: 0;
margin: 0;
background-image: url(../images/background.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
z-index: -1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
-webkit-filter: opacity(0.5);
-moz-filter: opacity(0.5);
-o-filter: opacity(0.5);
-ms-filter: opacity(0.5);
filter: opacity(0.5);
}
main { main {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
padding: 1rem 1.5rem; padding: 1rem 1.5rem;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
</head> </head>
<body> <body>
<div class="background"></div>
<header> <header>
<div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="medium"> <div class="title-bar" data-responsive-toggle="main-menu" data-hide-for="medium">
<button class="menu-icon top-bar-right" type="button" data-toggle></button> <button class="menu-icon top-bar-right" type="button" data-toggle></button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment