fixed navbar
This commit is contained in:
parent
eb258f129b
commit
e1347feab9
|
@ -1,3 +1,6 @@
|
||||||
==link_to "Higgs-Boson", "/", :class => "navlink", :id => "sitelink", :title => "Startpage"
|
==link_to "Higgs-Boson", "/", :id => "sitelink", :title => "Startpage"
|
||||||
==link_to "Impressum", "/impressum.html", :class => "navlink", :title => "Impressum"
|
ul
|
||||||
==link_to "About", "#about", :class => "navlink", :title => "About"
|
li
|
||||||
|
==link_to "Impressum", "/impressum.html", :class => "navlink", :title => "Impressum"
|
||||||
|
li
|
||||||
|
==link_to "About", "#about", :class => "navlink", :title => "About"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
Twitter: @albert_sn
|
Twitter: @albert_sn
|
||||||
Location: Germany
|
Location: Germany
|
||||||
|
|
||||||
Programmer & Admin: Jörg Thalhheim
|
Programmer & Admin: Jörg Thalheim
|
||||||
Twitter: @Mic_92
|
Twitter: @Mic_92
|
||||||
Location: Germany
|
Location: Germany
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
Names (& URL):
|
Names (& URL):
|
||||||
|
|
||||||
/* SITE */
|
/* SITE */
|
||||||
Last update: 2012/06/17
|
Last update: 2012/08/10
|
||||||
Standards: HTML5, CSS3
|
Standards: HTML5, CSS3
|
||||||
Colors: solarized (http://ethanschoonover.com/solarized)
|
Colors: solarized (http://ethanschoonover.com/solarized)
|
||||||
Fonts: Lobster, Cabin
|
Fonts: Lobster, Cabin
|
||||||
|
|
|
@ -19,10 +19,10 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#sitelink {
|
#sitelink {
|
||||||
float:left;
|
float: left;
|
||||||
padding-left: 10px;
|
|
||||||
padding-right:10px;
|
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
|
padding-right: 0.1em;
|
||||||
|
padding-left: 0.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ body {
|
||||||
|
|
||||||
/* Grid layout */
|
/* Grid layout */
|
||||||
#main {
|
#main {
|
||||||
|
margin-top: 50px;
|
||||||
@include grid(12);
|
@include grid(12);
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
}
|
}
|
||||||
|
@ -59,11 +60,23 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
line-height: 190%;
|
position: fixed;
|
||||||
a {
|
line-height: 2em;
|
||||||
margin-right: 10px;
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
display: inline;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0px;
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
list-style: none;
|
||||||
|
padding: 5px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
|
@ -28,8 +28,10 @@ $green: #859900;
|
||||||
header {
|
header {
|
||||||
background-color: $rebase01;
|
background-color: $rebase01;
|
||||||
color: $rebase1;
|
color: $rebase1;
|
||||||
|
|
||||||
a.navlink, a:active.navlink, a:visited.navlink { color: $rebase1; }
|
a.navlink, a:active.navlink, a:visited.navlink { color: $rebase1; }
|
||||||
a:hover.navlink { background: transparent; color: $rebase02; }
|
a:hover.navlink { background: transparent; color: $rebase02; }
|
||||||
|
|
||||||
#sitelink { color: $rebase02; background-color: $rebase1 }
|
#sitelink { color: $rebase02; background-color: $rebase1 }
|
||||||
a:hover#sitelink { font-weight: bold; }
|
a:hover#sitelink { font-weight: bold; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue