summaryrefslogtreecommitdiff
path: root/source/stylesheets
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-04-28 13:59:22 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-05-02 13:31:07 +0200
commit9832d63b0d73c76bd167f281a9ceb6b71af4106d (patch)
treece5d0e486a6eee52ff0f1a5f1ea7051a91fd1075 /source/stylesheets
parent535599f1634f502644d5024c54edd01297850a07 (diff)
add new sass stylesheet and refactor layout with semantic classes
Diffstat (limited to 'source/stylesheets')
-rw-r--r--source/stylesheets/base.css.scss33
1 files changed, 33 insertions, 0 deletions
diff --git a/source/stylesheets/base.css.scss b/source/stylesheets/base.css.scss
new file mode 100644
index 0000000..a38b784
--- /dev/null
+++ b/source/stylesheets/base.css.scss
@@ -0,0 +1,33 @@
+@import "bootstrap";
+
+header {
+ @extend .row;
+}
+
+body {
+ @extend .container;
+}
+
+nav {
+ @extend .row;
+}
+
+nav ul {
+ @extend .nav;
+ @extend .navbar-nav;
+ @extend .navbar-justified;
+}
+
+@media (min-width: 768px){
+ .navbar-nav{
+ margin: 0 auto;
+ display: table;
+ table-layout: fixed;
+ float:none;
+ }
+}
+
+ul.nav li.dropdown:hover ul.dropdown-menu{
+ display: block;
+ margin-top:0px
+}