Browse Source

Simplify jumbotron CSS

pull/555/head
Pēteris Caune 3 years ago
parent
commit
eb25cde241
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
4 changed files with 2 additions and 13 deletions
  1. +0
    -4
      static/css/bootstrap-colors.css
  2. +1
    -4
      static/css/bootstrap.css
  3. +0
    -4
      stuff/bootstrap/jumbotron.less
  4. +1
    -1
      stuff/bootstrap/variables.less

+ 0
- 4
static/css/bootstrap-colors.css View File

@ -1,7 +1,3 @@
.jumbotron {
background-color: var(--jumbotron-bg);
}
.btn-default {
color: var(--btn-default-color);
background-color: var(--btn-default-bg);


+ 1
- 4
static/css/bootstrap.css View File

@ -4089,7 +4089,7 @@ a.badge:focus {
padding-bottom: 30px;
margin-bottom: 30px;
color: inherit;
background-color: #eeeeee;
background-color: var(--jumbotron-bg);
}
.jumbotron h1,
.jumbotron .h1 {
@ -4100,9 +4100,6 @@ a.badge:focus {
font-size: 21px;
font-weight: 200;
}
.jumbotron > hr {
border-top-color: #d5d5d5;
}
.container .jumbotron,
.container-fluid .jumbotron {
border-radius: 3px;


+ 0
- 4
stuff/bootstrap/jumbotron.less View File

@ -21,10 +21,6 @@
font-weight: 200;
}
> hr {
border-top-color: darken(@jumbotron-bg, 10%);
}
.container &,
.container-fluid & {
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container


+ 1
- 1
stuff/bootstrap/variables.less View File

@ -487,7 +487,7 @@
@jumbotron-padding: 30px;
@jumbotron-color: inherit;
@jumbotron-bg: @gray-lighter;
@jumbotron-bg: var(--jumbotron-bg);
@jumbotron-heading-color: inherit;
@jumbotron-font-size: ceil((@font-size-base * 1.5));
@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));


Loading…
Cancel
Save