Browse Source

fix css for subtitle

Gaspard Jankowiak 6 months ago
parent
commit
a190063b83
2 changed files with 3 additions and 3 deletions
  1. 0
    2
      _layouts/default.html
  2. 3
    1
      css/screen.scss

+ 0
- 2
_layouts/default.html View File

@@ -63,9 +63,7 @@
63 63
                 {% endif %}
64 64
                 <hr>
65 65
 
66
-                <center>
67 66
                 <div id="page_subtitle">{{ page.subtitle }}</div>
68
-                </center>
69 67
 
70 68
                 <div id="content">
71 69
                 {{ content }}

+ 3
- 1
css/screen.scss View File

@@ -108,6 +108,8 @@ ol li:hover { border-right: 3px solid $links; padding-right: 7px; }
108 108
 
109 109
 .centered_img { display: block; margin: 1em auto; }
110 110
 
111
+.center { text-align: center; }
112
+
111 113
 #wrapper { max-width: $in_width; margin: auto; }
112 114
 #outter-wrapper { width: 100%; height: auto; min-height: 100%; position: relative; }
113 115
 #foot_image { height: 150px; background: linear-gradient(to top, #FFFFFF 0%, #FFFFFF 50%, #EEEEEE 100%);
@@ -122,7 +124,7 @@ ol li:hover { border-right: 3px solid $links; padding-right: 7px; }
122 124
 
123 125
 #info span { display: inline-block; width: 100%; max-width: 618px; vertical-align: middle; }
124 126
 
125
-#page_subtitle { font-family: "OpenSansLight",sans; font-size: 2em; margin: 1em; }
127
+#page_subtitle { font-family: "OpenSansLight",sans; font-size: 2em; margin: 1em; text-align: center; }
126 128
 
127 129
 #main_email { padding: 0.5em; }
128 130
 

Loading…
Cancel
Save