Commit 006380dd authored by Sli's avatar Sli

Compression des images, refonte du design et rectification de l'affichage mobile

parent 88b28c2a
......@@ -2,14 +2,14 @@
* @Author: klmp200
* @Date: 2016-07-06 15:42:59
* @Last Modified by: klmp200
* @Last Modified time: 2016-09-06 15:28:40
* @Last Modified time: 2016-10-02 01:10:11
*/
@import 'https://fonts.googleapis.com/css?family=Raleway';
@import 'https://fonts.googleapis.com/css?family=Cinzel';
body {
background-image: url("/gala/static/blog/img/background.png");
background-image: url("/gala/static/blog/img/background.jpg");
background-repeat: repeat;
background-attachment: fixed;
font-family: 'Roboto', sans-serif;
......@@ -17,7 +17,8 @@ body {
.content {
background-color: #eee;
border: 3px #b2810e solid;
border-radius: 10px;
// border: 3px #b2810e solid;
}
#content {
......@@ -29,6 +30,10 @@ body {
// border-top: 3px black solid;
}
#footer {
border-radius: 0 0 10px 10px;
}
.credit {
border-top: 3px #b2810e solid;
margin-bottom: -20px;
......@@ -74,7 +79,7 @@ hr {
}
.chrono {
background-color: #5A6AFF;
// background-color: #5A6AFF;
font-family: 'Cinzel', serif;
color: #ffffff;
font-size: 3.5em;
......@@ -82,13 +87,19 @@ hr {
.days {
font-weight: bold;
color: black;
// color: black;
// color: #5A6AFF;
color: #ffffff;
}
.logo {
background-color: rgba(255, 255, 255, 0.8);
// background-color: rgba(255, 255, 255, 0.8);
min-width: 100%;
max-height: 300px;
max-height: 350px;
}
#logo-mini {
margin-bottom: 60px;
}
......@@ -134,6 +145,18 @@ hr {
background-color: #ffffff;
}
@media (min-width: 992px) {
.social-mini {
padding: 20px;
}
}
@media (min-width: 1200px) {
.social-mini {
// padding: 40px;
}
}
/*
* Gestion des liens
*/
......
......@@ -2,100 +2,83 @@
* @Author: klmp200
* @Date: 2016-07-10 16:06:30
* @Last Modified by: klmp200
* @Last Modified time: 2016-07-10 21:24:00
* @Last Modified time: 2016-10-02 01:36:11
*/
#navbar {
border-radius: 10px 10px 0 0;
}
.navbar-default {
background-color: #0a0d17;
border-color: #b2810e;
border-radius: 0px;
background-color: #0a0c12;
border-color: #0a0c12;;
}
.navbar-default .navbar-brand {
color: #ecf0f1;
color: #ffffff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: #ffffff;
color: #0a0c12;
}
.navbar-default .navbar-text {
color: #ecf0f1;
color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
color: #ecf0f1;
color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
color: #ffffff;
}
.navbar-default .navbar-nav > li > .dropdown-menu {
background-color: #0a0d17;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
color: #ecf0f1;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
color: #ffffff;
background-color: #b2810e;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .divider {
background-color: #b2810e;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #ffffff;
background-color: #b2810e;
color: #0a0c12;
background-color: #ffffff;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #b2810e;
color: #0a0c12;
background-color: #ffffff;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
color: #ffffff;
background-color: #b2810e;
color: #0a0c12;
background-color: #ffffff;
}
.navbar-default .navbar-toggle {
border-color: #b2810e;
border-color: #ffffff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
background-color: #b2810e;
background-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #ecf0f1;
background-color: #ffffff;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
border-color: #ecf0f1;
border-color: #ffffff;
}
.navbar-default .navbar-link {
color: #ecf0f1;
color: #ffffff;
}
.navbar-default .navbar-link:hover {
color: #ffffff;
color: #0a0c12;
}
@media (max-width: 767px) {
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #ecf0f1;
color: #ffffff;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
color: #ffffff;
color: #0a0c12;
}
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #ffffff;
background-color: #b2810e;
color: #0a0c12;
background-color: #ffffff;
}
}
.navbar-default-gala {
border-bottom: 3px #b2810e solid;
// border-bottom: 3px #b2810e solid;
}
\ No newline at end of file
This diff is collapsed.
blog/static/blog/img/banderole.png

49 KB | W: | H:

blog/static/blog/img/banderole.png

58.8 KB | W: | H:

blog/static/blog/img/banderole.png
blog/static/blog/img/banderole.png
blog/static/blog/img/banderole.png
blog/static/blog/img/banderole.png
  • 2-up
  • Swipe
  • Onion skin
<div class="navbar navbar-default">
<div class="navbar navbar-default" id="footer">
<div class="container-fluid">
<div class="container">
<p class="navbar-text">Copyright © Bartuccio Antoine 2016 – Tous droits réservés</p>
......
{% load set_var %}
<nav class="navbar navbar-default navbar-default-gala">
<nav class="navbar navbar-default navbar-default-gala" id="navbar">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#gala-navbar">
......
......@@ -12,24 +12,26 @@
<link href="{% static "blog/css/nav.css" %}" rel="stylesheet">
<script src="https://use.fontawesome.com/e7e3959afc.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<div class="row">
<div class="col-xs-offset-1 col-xs-10 col-md-offset-2 col-md-8 col-lg-offset-2 col-lg-8">
{# Décompte petit écran #}
<div class="container-fluid hidden-lg">
{% include "blog/chrono.html" %}
</div>
{# Bannière #}
<div class="row-fluid hidden-lg">
<img class="img-responsive logo" src="{% static "blog/img/banderole.png" %}">
</div>
<div class="visible-lg-inline">
<img class="img-responsive logo" src="{% static "blog/img/banderole.png" %}">
</div>
{# Décompte petit écran #}
<div class="container-fluid hidden-lg">
{% include "blog/chrono.html" %}
{# <img class="img-responsive logo" src="{% static "blog/img/banderole.jpg" %}"> #}
</div>
</div>
......@@ -49,8 +51,13 @@
{# Liens sociaux desktop #}
<div class="col-md-2 col-sm-1">
<div class="hidden-xs hidden-sm hidden-md">
<img class="img-responsive logo" id="logo-mini" src="{% static "blog/img/banderole.png" %}">
</div>
<div class="hidden-sm hidden-xs">
{% include "blog/media.html" %}
<div class="social-mini">
{% include "blog/media.html" %}
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment