From 689c099ecb1830a1ed1cbf9b1cde7d3742df4d70 Mon Sep 17 00:00:00 2001 From: Olivier Lumineau <olivier.lumineau@renater.fr> Date: Thu, 26 Jul 2018 11:02:18 +0200 Subject: [PATCH] Removing css background rule --- resources/css/renater.css | 35 ---------------------------- templates/renater/web/index.tt2.html | 1 - 2 files changed, 36 deletions(-) diff --git a/resources/css/renater.css b/resources/css/renater.css index 694e5ab..377bc95 100644 --- a/resources/css/renater.css +++ b/resources/css/renater.css @@ -3,17 +3,6 @@ * 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 */ font-family: 'LatoWeb', sans-serif; font-size: 1rem; @@ -37,32 +26,8 @@ body { line-height: 1; background-color: #fff; 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; } -.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 { margin-bottom: 1.5rem; padding: 1rem 1.5rem; diff --git a/templates/renater/web/index.tt2.html b/templates/renater/web/index.tt2.html index 40fa4e7..cfb4d3b 100644 --- a/templates/renater/web/index.tt2.html +++ b/templates/renater/web/index.tt2.html @@ -27,7 +27,6 @@ </head> <body> - <div class="background"></div> <header> <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> -- GitLab