Browse Source

Fixing blockquote on homepage for responsive, changing viewport

Adèle 9 years ago
parent
commit
777dbe7873
3 changed files with 12 additions and 2 deletions
  1. 1 1
      content/pages/01_index.md
  2. 10 0
      theme/static/css/main.css
  3. 1 1
      theme/templates/base.html

+ 1 - 1
content/pages/01_index.md

@@ -12,7 +12,7 @@ save_as: index.html
 
   <img class="col1of2" src="../images/pessin2.png" alt="Pas de profits">
 
-  <blockquote class="col1of2"><p>" Pour qu'Internet reste neutre et décentralisé. "</p></blockquote>
+  <blockquote class="quote-valeurs col1of2"><p>" Pour qu'Internet reste neutre et décentralisé. "</p></blockquote>
   <div class="clearfix"></div>
   <hr id="first-sep">
 

+ 10 - 0
theme/static/css/main.css

@@ -512,6 +512,8 @@ Home page
 	color: #FFF;
 	font-size: 28px;
 	margin: 0;
+  margin-bottom: 20px;
+  padding: 20px;
 	-moz-box-shadow: 1px 1px 5px 0px #c0c0c0;
 	-webkit-box-shadow: 1px 1px 5px 0px #c0c0c0;
 	-o-box-shadow: 1px 1px 5px 0px #c0c0c0;
@@ -519,6 +521,10 @@ Home page
 	filter:progid:DXImageTransform.Microsoft.Shadow(color=#c0c0c0, Direction=134, Strength=5);
 }
 
+#content-home blockquote p {
+  margin: 0;
+}
+
 #content-home .presentation {
 	background-image: url(../images/deco-titre.png);
 	background-repeat: no-repeat;
@@ -552,6 +558,10 @@ Home page
 	font-weight: lighter;
 }
 
+#content-home .services {
+  list-style: none;
+}
+
 #content-home .services li span {
 	font-family: Oswald, Arial, serif;
 	font-size: 100px;

+ 1 - 1
theme/templates/base.html

@@ -3,7 +3,7 @@
   <head>
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">e
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
     <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
     <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}">