diff options
Diffstat (limited to 'stylesheets')
-rw-r--r-- | stylesheets/stylesheet.css | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css index 9deb39c..aaacb16 100644 --- a/stylesheets/stylesheet.css +++ b/stylesheets/stylesheet.css @@ -12,7 +12,7 @@ body { .container {
width: 90%;
- max-width: 600px;
+ max-width: 630px;
margin: 0 auto;
}
@@ -40,7 +40,7 @@ header { width: 100%;
border-bottom: 1px dashed #b5e853;
padding: 20px 0;
- margin: 0 0 40px 0;
+ margin: 0px;
}
header h1 {
@@ -80,6 +80,9 @@ header h2 { #main_content {
width: 100%;
-webkit-font-smoothing: antialiased;
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.5) inset, 0 2px 2px 0 rgba(255, 255, 255, 0.5);
+ padding-left: 15px;
+ padding-right: 15px;
}
section img {
max-width: 100%
@@ -223,7 +226,6 @@ hr { border-bottom: 2px solid rgba(181, 232, 83, 0.7);
border-top: 2px solid rgba(181, 232, 83, 1);
color: #b5e853;
- letter-spacing: -0.03em;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
0 0 10px rgba(181, 232, 83, 0.1);
@@ -279,4 +281,33 @@ a { .cf {
zoom:1;
-}
\ No newline at end of file +}
+
+/* Ajout CSS */
+
+#menu_fix
+{
+ border-bottom: 1px dashed #b5e853;
+ padding-top:20px;
+ padding-bottom:20px;
+ background: red;
+ background: #302F2F;
+
+}
+
+#menu.fixed
+{
+ position: fixed;
+ top: 0;
+ background: #302F2F;
+ text-align: center;
+ top:-4px;
+ padding-top: 19px;
+ padding-bottom: 15px;
+ padding-right: 10%;
+ padding-left: 10%;
+ width: 100%;
+ left: 50%;
+ transform: translate(-50%);
+ box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5), 0px 2px 2px 0px rgba(255, 255, 255, 0.5) inset;
+}
|