Fork-Awesome/src/doc/assets/less/site/bootstrap/jumbotron.less
Hugo Locurcio 284cfebe31
Improve the font stack used on the website
- Use a modern system font stack as used by Bootstrap 4.
- Replace light font weights with normal font weights, as these are
  easier to read.
- Remove the use of the Proxima Nova font as it's not installed
  on all systems. Loading it as a web font would slow down page loading,
  so it's probably not a good idea if it's only used rarely.
2019-12-21 22:45:55 +01:00

86 lines
1.9 KiB
Plaintext

.jumbotron {
background-color: lighten(@jumbotron-bg, 2%);
border-top: 1px solid mix(@jumbotron-bg, @jumbotron-color, 90%);
border-bottom: 1px solid @jumbotron-border;
margin-bottom: 0;
&, h1 { color: @jumbotron-color; }
padding: 50px 0 40px;
h1 {
font-size: 80px;
letter-spacing: -2px;
line-height: 1;
margin: 0 0 15px;
}
p {
margin-top: 15px;
margin-bottom: 15px;
font-size: 24px;
line-height: 1.3;
}
.list-group-item {
border-color: mix(@jumbotron-color, @fa-green, 15%);
background: transparent;
}
.text-muted {
color: mix(@jumbotron-color, @fa-green, 45%);
}
}
.jumbotron-ad, .jumbotron-carousel {
h1 {
text-shadow: 4px 3px 0px @jumbotron-bg, 9px 8px 0px rgba(0,0,0,0.15); // double text shadow
}
p {
color: mix(@jumbotron-color, @jumbotron-bg, 75%);
text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
}
.jumbotron-icon {
padding: 30px 0 25px;
background-color: @gray-lighter;
color: @gray-darker;
&, h1 { text-shadow: 0 1px 0 #fff; }
border-bottom-color: mix(@gray-light, @gray-lighter, 25%);
border-top-color: mix(#fff, @gray-lighter, 50%);
h1 {
color: @gray-darker;
margin-top: @buffer-lg;
small {
letter-spacing: normal;
font-family: @font-family-sans-serif;
font-size: @font-size-base;
margin-left: 20px;
}
}
.info-icons {
font-size: @font-size-base;
}
.info-details {
float: left;
p {
margin: 25px 0;
font-weight: bold;
}
.dl-horizontal {
dt { width: @component-offset-horizontal - 100; }
dd { margin-left: @component-offset-horizontal - 85; }
}
}
.fa-2 { font-size: 2em; }
.fa-3 { font-size: 4em; }
.fa-4 { font-size: 7em; }
.fa-5 { font-size: 12em; }
.fa-6 { font-size: 20em; }
.fa-1, .fa-2, .fa-3, .fa-4, .fa-5, .fa-6 { margin-right: 1/14em; }
}
h1.info-class {
font-size: 30px;
}