mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-08 00:54:09 +02:00
Use @font-size-... variables instead of hardcoded font-size in px
This commit is contained in:
parent
c63b793a0d
commit
9cd3a92713
16
docs/assets/css/bootstrap.css
vendored
16
docs/assets/css/bootstrap.css
vendored
@ -3192,9 +3192,9 @@ a.list-group-item.active .list-group-item-text {
|
|||||||
|
|
||||||
.close {
|
.close {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 20px;
|
font-size: 21px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 20px;
|
line-height: 1;
|
||||||
color: #000;
|
color: #000;
|
||||||
text-shadow: 0 1px 0 #ffffff;
|
text-shadow: 0 1px 0 #ffffff;
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
@ -3382,7 +3382,7 @@ button.close {
|
|||||||
.nav-header {
|
.nav-header {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 3px 15px;
|
padding: 3px 15px;
|
||||||
font-size: 11px;
|
font-size: 10.5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
@ -3576,7 +3576,7 @@ button.close {
|
|||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
font-size: 18px;
|
font-size: 17.5px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
@ -4355,7 +4355,7 @@ button.close {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1030;
|
z-index: 1030;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 11px;
|
font-size: 10.5px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
@ -4802,7 +4802,7 @@ a.thumbnail:focus {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
font-size: 12px;
|
font-size: 11.9px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -4902,7 +4902,7 @@ a.list-group-item.active > .badge,
|
|||||||
float: left;
|
float: left;
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 12px;
|
font-size: 11.9px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
@ -5216,7 +5216,7 @@ a.list-group-item.active > .badge,
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.jumbotron h1 {
|
.jumbotron h1 {
|
||||||
font-size: 60px;
|
font-size: 63px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
font-size: 12px;
|
font-size: @font-size-small;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
.close {
|
.close {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 20px;
|
font-size: (@font-size-base * 1.5);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: @line-height-base;
|
line-height: 1;
|
||||||
color: #000;
|
color: #000;
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
||||||
.opacity(.2);
|
.opacity(.2);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
.jumbotron {
|
.jumbotron {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
font-size: 21px;
|
font-size: (@font-size-base * 1.5);
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
line-height: (@line-height-base * 1.5);
|
line-height: (@line-height-base * 1.5);
|
||||||
color: @jumbotron-lead-color;
|
color: @jumbotron-lead-color;
|
||||||
@ -26,7 +26,7 @@
|
|||||||
border-radius: @border-radius-large; // Only round corners at higher resolutions
|
border-radius: @border-radius-large; // Only round corners at higher resolutions
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 60px;
|
font-size: (@font-size-base * 4.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
font-size: 18px;
|
font-size: @font-size-large;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
color: @navbar-brand-color;
|
color: @navbar-brand-color;
|
||||||
|
@ -183,7 +183,7 @@
|
|||||||
.nav-header {
|
.nav-header {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 3px 15px;
|
padding: 3px 15px;
|
||||||
font-size: 11px;
|
font-size: @font-size-mini;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
color: @gray-light;
|
color: @gray-light;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
.popover-title {
|
.popover-title {
|
||||||
margin: 0; // reset heading margin
|
margin: 0; // reset heading margin
|
||||||
padding: 8px 14px;
|
padding: 8px 14px;
|
||||||
font-size: 14px;
|
font-size: @font-size-base;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
background-color: @popover-title-bg;
|
background-color: @popover-title-bg;
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
float: left;
|
float: left;
|
||||||
width: 0%;
|
width: 0%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 12px;
|
font-size: @font-size-small;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
z-index: @zindex-tooltip;
|
z-index: @zindex-tooltip;
|
||||||
display: block;
|
display: block;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
font-size: 11px;
|
font-size: @font-size-mini;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
.opacity(0);
|
.opacity(0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user