aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-11-25 22:01:10 +0200
committerGitHub <[email protected]>2017-11-25 22:01:10 +0200
commit544b3ee954179f7cfbd25f8dd7894394ca834105 (patch)
tree5a04cad4c037bedc76c5909fcb03d0bc68b75702
parent87509520fb3f67a59b633400eed42625d9d8f8bf (diff)
downloadbootstrap-544b3ee954179f7cfbd25f8dd7894394ca834105.tar.xz
bootstrap-544b3ee954179f7cfbd25f8dd7894394ca834105.zip
Remove unused CSS. (#24872)
-rw-r--r--assets/scss/_featured-sites.scss21
-rw-r--r--assets/scss/_masthead.scss5
-rw-r--r--assets/scss/_page-header.scss60
-rw-r--r--assets/scss/_responsive-tests.scss15
-rw-r--r--assets/scss/docs.scss3
5 files changed, 0 insertions, 104 deletions
diff --git a/assets/scss/_featured-sites.scss b/assets/scss/_featured-sites.scss
deleted file mode 100644
index b0964a91e..000000000
--- a/assets/scss/_featured-sites.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-.bd-featured-sites {
- margin-right: -1px;
- margin-left: -1px;
-}
-.bd-featured-sites .col-6 {
- padding: 1px;
-}
-.bd-featured-sites .img-fluid {
- margin-top: 0;
-}
-
-@media (min-width: 768px) {
- .bd-featured-sites .col-sm-3:first-child img {
- border-top-left-radius: .25rem;
- border-bottom-left-radius: .25rem;
- }
- .bd-featured-sites .col-sm-3:last-child img {
- border-top-right-radius: .25rem;
- border-bottom-right-radius: .25rem;
- }
-}
diff --git a/assets/scss/_masthead.scss b/assets/scss/_masthead.scss
index 614e6566e..0e3cea069 100644
--- a/assets/scss/_masthead.scss
+++ b/assets/scss/_masthead.scss
@@ -41,11 +41,6 @@
}
}
-.bd-pretext {
- overflow: hidden;
- resize: none;
-}
-
.half-rule {
width: 6rem;
margin: 2.5rem 0;
diff --git a/assets/scss/_page-header.scss b/assets/scss/_page-header.scss
deleted file mode 100644
index 7050af10c..000000000
--- a/assets/scss/_page-header.scss
+++ /dev/null
@@ -1,60 +0,0 @@
-// stylelint-disable declaration-no-important
-
-.bd-pageheader {
- padding: 2rem ($grid-gutter-width / 2);
- margin-bottom: 1.5rem;
- color: $bd-purple-light;
- text-align: center;
- background-color: $bd-purple;
-
- .container {
- position: relative;
- }
-
- h1 {
- font-size: 3rem;
- font-weight: 400;
- color: #fff;
- }
-
- p {
- margin-bottom: 0;
- font-size: 1.25rem;
- font-weight: 300;
- }
-
- @include media-breakpoint-up(sm) {
- padding-top: 4rem;
- padding-bottom: 4rem;
- margin-bottom: 3rem;
- text-align: left;
-
- .carbonad {
- margin: 2rem 0 0 !important;
- }
- }
-
- @include media-breakpoint-up(md) {
- h1 {
- font-size: 4rem;
- }
-
- p {
- font-size: 1.5rem;
- }
- }
-
- @include media-breakpoint-up(lg) {
- h1,
- p {
- margin-right: 380px;
- }
-
- .carbonad {
- position: absolute;
- top: 0;
- right: .75rem; // offset from the .container's padding
- margin: 0 !important;
- }
- }
-}
diff --git a/assets/scss/_responsive-tests.scss b/assets/scss/_responsive-tests.scss
deleted file mode 100644
index be5e5320a..000000000
--- a/assets/scss/_responsive-tests.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Responsive tests
-//
-
-// Responsive (scrollable) doc tables
-.table-responsive .highlight pre {
- white-space: normal;
-}
-
-// Utility classes table
-.bd-table th small {
- display: block;
- font-weight: 400;
- color: #999;
-}
diff --git a/assets/scss/docs.scss b/assets/scss/docs.scss
index 82c41da77..811b39c74 100644
--- a/assets/scss/docs.scss
+++ b/assets/scss/docs.scss
@@ -32,15 +32,12 @@
@import "variables";
@import "nav";
@import "masthead";
-@import "featured-sites";
@import "ads";
@import "content";
-@import "page-header";
@import "skiplink";
@import "sidebar";
@import "footer";
@import "component-examples";
-@import "responsive-tests";
@import "buttons";
@import "callouts";
@import "examples";