mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
css: centralize heading styles
This commit is contained in:
parent
9e4cdd4470
commit
f43976a19a
@ -1,11 +1,3 @@
|
||||
// W3C Recommendation <http://www.w3.org/TR/CSS21/sample.html> (except h4)
|
||||
h1 { font-size: 2em !important; }
|
||||
h2 { font-size: 1.5em !important; }
|
||||
h3 { font-size: 1.17em !important; }
|
||||
h4 { font-size: 1em !important; }
|
||||
h5 { font-size: .83em !important; }
|
||||
h6 { font-size: .75em !important; }
|
||||
|
||||
div.chapter {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
@ -49,6 +49,48 @@ a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* W3C Recommendation <http://www.w3.org/TR/CSS21/sample.html> (except h4) */
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
color: @colorTextDefault;
|
||||
border-bottom: 2px solid @colorPetrol;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
color: @colorPetrol;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.17em;
|
||||
color: @colorTextDefault;
|
||||
border-bottom: 1px solid @colorPetrol;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
color: @colorPetrol;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: .83em;
|
||||
border-bottom: 1px solid @colorPetrol;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: .75em;
|
||||
color: @colorPetrol;
|
||||
}
|
||||
|
||||
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#fontsize-calc {
|
||||
display: none;
|
||||
width: 1000em;
|
||||
|
@ -124,12 +124,6 @@ html {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.controls h1 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.2em;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
|
||||
.container .fake-controls {
|
||||
padding: 0;
|
||||
}
|
||||
@ -152,13 +146,6 @@ html {
|
||||
margin-left: 1%;
|
||||
}
|
||||
|
||||
.dashboard > div.container h1, .container .content h1, .container .controls h1, .content h3 {
|
||||
line-height: 2em;
|
||||
font-size: 1em;
|
||||
color: @colorTextDefault;
|
||||
border-bottom: 2px solid @colorPetrol;
|
||||
}
|
||||
|
||||
.content h3 {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
@ -167,24 +154,10 @@ html {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.container .controls h1 {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.container .controls .pagination {
|
||||
margin-left: 1.2em;
|
||||
}
|
||||
|
||||
.dashboard > div.container h1 a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.dashboard > div.container h1 a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 1em;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user