modifs aspect & h3,h4

This commit is contained in:
Nico 2013-02-13 10:28:45 +01:00
parent 6407aaf07d
commit 407b6c1323
3 changed files with 33 additions and 11 deletions

View File

@ -77,7 +77,7 @@ body{
} }
#main{ #main{
h1{ h1, h2,h3,h4{
color :#00ade2; color :#00ade2;
} }
@ -87,6 +87,25 @@ body{
.menu{
ul{
a{
color:black;
&:hover,&.active{
color :#00ade2;
}
}
padding-left:1em;
list-style-type:circle;
}
}

View File

@ -32,6 +32,8 @@
%a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h1"} h1 %a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h1"} h1
%a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h2"} h2 %a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h2"} h2
%a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h3"} h3
%a{"data-wysihtml5-command" => "formatBlock", "data-wysihtml5-command-value" => "h4"} h4
%a.rte-rte_unordered_list{"data-wysihtml5-command" => "insertUnorderedList"} %a.rte-rte_unordered_list{"data-wysihtml5-command" => "insertUnorderedList"}

View File

@ -1,4 +1,5 @@
-content_for :sidebar do -content_for :sidebar do
.menu
-if @menu_item.parent_id -if @menu_item.parent_id
-if @menu_item.ancestors.reverse[0] -if @menu_item.ancestors.reverse[0]
-first_level_menu = @menu_item.ancestors.reverse[0] -first_level_menu = @menu_item.ancestors.reverse[0]