Browse Source

Couche CSS de base

bastien 13 years ago
parent
commit
77685b297d

+ 4 - 4
src/Muzich/CoreBundle/Resources/views/layout.html.twig View File

@@ -20,11 +20,11 @@
20 20
 </head>
21 21
 <body>
22 22
 	
23
-  <div id="connexion">
24
-    {% include "MuzichUserBundle::connexion.html.twig" %}
25
-  </div>
23
+  {% include "MuzichUserBundle::connexion.html.twig" %}
26 24
   
27
-  {% block main_content %}{% endblock %}
25
+  <div id="container">
26
+    {% block main_content %}{% endblock %}
27
+  </div>
28 28
   
29 29
 </body>
30 30
 </html>

+ 1 - 1
src/Muzich/HomeBundle/Resources/views/Show/showGroup.html.twig View File

@@ -4,7 +4,7 @@
4 4
 
5 5
 {% block content %}
6 6
     
7
-  <b>{{ group.name }}</b>
7
+  <h2>{{ group.name }}</h2>
8 8
   
9 9
   {% include "MuzichCoreBundle:SearchElement:default.html.twig" %}
10 10
     

+ 1 - 1
src/Muzich/HomeBundle/Resources/views/Show/showUser.html.twig View File

@@ -4,7 +4,7 @@
4 4
 
5 5
 {% block content %}
6 6
     
7
-  <b>{{ viewed_user.name }}</b>
7
+  <h2>{{ viewed_user.name }}</h2>
8 8
   
9 9
   {% include "MuzichCoreBundle:SearchElement:default.html.twig" %}
10 10
     

+ 4 - 3
web/bundles/muzichcore/css/base.css View File

@@ -9,10 +9,11 @@ body {
9 9
   padding: 1em; /* Remettre à zéro si nécessaire. */
10 10
   /* Pensez à utiliser une collection de polices (2), par ex:
11 11
   font-family: Arial, Helvetica, FreeSans, sans-serif; */
12
-  font-size: .8em; /* À adapter pour la police choisie. (3) */
13
-  line-height: 1.4; /* À adapter au design. (4) */
12
+  /*font-size: .8em;*/ /* À adapter pour la police choisie. (3) */
14 13
   color: black;
15
-  background: white;
14
+  background-color: #9AE4E8;
15
+  font: 13.34px helvetica,arial,freesans,clean,sans-serif;
16
+  line-height: 1.4;
16 17
 }
17 18
 
18 19
 /* Titres */

+ 33 - 0
web/bundles/muzichcore/css/main.css View File

@@ -1 +1,34 @@
1 1
 
2
+#container
3
+{
4
+  width: 920px;
5
+  margin-top: 45px;
6
+  margin-left: auto;
7
+  margin-right: auto;
8
+  margin-bottom: 45px;
9
+  
10
+  padding: 10px;
11
+  background-color: white;
12
+  border: 0px solid #d5d5d5;
13
+  border-radius: 7px;
14
+  -moz-border-radius: 7px;
15
+  -webkit-border-radius: 7px;
16
+}
17
+
18
+#container h1
19
+{
20
+  
21
+}
22
+#container h2
23
+{
24
+  margin-top: 5px;
25
+  margin-bottom: 5px;
26
+}
27
+#container h3
28
+{
29
+  
30
+}
31
+#container h4
32
+{
33
+  
34
+}