Browse Source

Header/button inherits fonts from global instead of redefining inside def

1.0
jlukic 10 years ago
parent
commit
32cfe8a85a
2 changed files with 1 additions and 24 deletions
  1. 1
      src/definitions/elements/button.less
  2. 24
      src/definitions/elements/header.less

1
src/definitions/elements/button.less

@ -37,7 +37,6 @@
margin: 0em @horizontalMargin @verticalMargin 0em;
padding: @verticalPadding @horizontalPadding (@verticalPadding + @shadowOffset);
font-family: @pageFont;
text-transform: @textTransform;
text-shadow: @textShadow;
font-weight: @fontWeight;

24
src/definitions/elements/header.less

@ -25,7 +25,6 @@
/* Standard */
.ui.header {
border: none;
font-family: @headerFont;
margin: @margin;
padding: @verticalPadding @horizontalPadding;
font-weight: @fontWeight;
@ -86,27 +85,6 @@
}
/*--------------
Page Heading
---------------*/
h1.ui.header {
min-height: 1rem;
font-size: @h1;
}
h2.ui.header {
font-size: @h2;
}
h3.ui.header {
font-size: @h3;
}
h4.ui.header {
font-size: @h4;
}
h5.ui.header {
font-size: @h5;
}
/*--------------
Content Heading
---------------*/
@ -542,7 +520,7 @@ a.ui.inverted.yellow.header:hover {
Sizing
--------------------*/
.ui.header {
.ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
font-size: @medium;
}
Loading…
Cancel
Save