forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(examples): use RTLCSS for RTL examples
- Loading branch information
Showing
16 changed files
with
455 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
/* stylelint-disable selector-list-comma-newline-after */ | ||
|
||
.blog-header { | ||
line-height: 1; | ||
border-bottom: 1px solid #e5e5e5; | ||
} | ||
|
||
.blog-header-logo { | ||
font-family: Amiri, Georgia, "Times New Roman", serif; | ||
font-size: 2.25rem; | ||
} | ||
|
||
.blog-header-logo:hover { | ||
text-decoration: none; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-family: Amiri, Georgia, "Times New Roman", serif; | ||
} | ||
|
||
.display-4 { | ||
font-size: 2.5rem; | ||
} | ||
@media (min-width: 768px) { | ||
.display-4 { | ||
font-size: 3rem; | ||
} | ||
} | ||
|
||
.nav-scroller { | ||
position: relative; | ||
z-index: 2; | ||
height: 2.75rem; | ||
overflow-y: hidden; | ||
} | ||
|
||
.nav-scroller .nav { | ||
display: flex; | ||
flex-wrap: nowrap; | ||
padding-bottom: 1rem; | ||
margin-top: -1px; | ||
overflow-x: auto; | ||
text-align: center; | ||
white-space: nowrap; | ||
-webkit-overflow-scrolling: touch; | ||
} | ||
|
||
.nav-scroller .nav-link { | ||
padding-top: .75rem; | ||
padding-bottom: .75rem; | ||
font-size: .875rem; | ||
} | ||
|
||
.card-img-right { | ||
height: 100%; | ||
border-radius: 3px 0 0 3px; | ||
} | ||
|
||
.flex-auto { | ||
flex: 0 0 auto; | ||
} | ||
|
||
.h-250 { height: 250px; } | ||
@media (min-width: 768px) { | ||
.h-md-250 { height: 250px; } | ||
} | ||
|
||
/* Pagination */ | ||
.blog-pagination { | ||
margin-bottom: 4rem; | ||
} | ||
.blog-pagination > .btn { | ||
border-radius: 2rem; | ||
} | ||
|
||
/* | ||
* Blog posts | ||
*/ | ||
.blog-post { | ||
margin-bottom: 4rem; | ||
} | ||
.blog-post-title { | ||
margin-bottom: .25rem; | ||
font-size: 2.5rem; | ||
} | ||
.blog-post-meta { | ||
margin-bottom: 1.25rem; | ||
color: #727272; | ||
} | ||
|
||
/* | ||
* Footer | ||
*/ | ||
.blog-footer { | ||
padding: 2.5rem 0; | ||
color: #727272; | ||
text-align: center; | ||
background-color: #f9f9f9; | ||
border-top: .05rem solid #e5e5e5; | ||
} | ||
.blog-footer p:last-child { | ||
margin-bottom: 0; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* GLOBAL STYLES | ||
-------------------------------------------------- */ | ||
/* Padding below the footer and lighter body text */ | ||
|
||
body { | ||
padding-top: 3rem; | ||
padding-bottom: 3rem; | ||
color: #5a5a5a; | ||
} | ||
|
||
|
||
/* CUSTOMIZE THE CAROUSEL | ||
-------------------------------------------------- */ | ||
|
||
/* Carousel base class */ | ||
.carousel { | ||
margin-bottom: 4rem; | ||
} | ||
/* Since positioning the image, we need to help out the caption */ | ||
.carousel-caption { | ||
bottom: 3rem; | ||
z-index: 10; | ||
} | ||
|
||
/* Declare heights because of positioning of img element */ | ||
.carousel-item { | ||
height: 32rem; | ||
} | ||
.carousel-item > img { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
min-width: 100%; | ||
height: 32rem; | ||
} | ||
|
||
|
||
/* MARKETING CONTENT | ||
-------------------------------------------------- */ | ||
|
||
/* Center align the text within the three columns below the carousel */ | ||
.marketing .col-lg-4 { | ||
margin-bottom: 1.5rem; | ||
text-align: center; | ||
} | ||
.marketing h2 { | ||
font-weight: 400; | ||
} | ||
.marketing .col-lg-4 p { | ||
margin-right: .75rem; | ||
margin-left: .75rem; | ||
} | ||
|
||
|
||
/* Featurettes | ||
------------------------- */ | ||
|
||
.featurette-divider { | ||
margin: 5rem 0; /* Space out the Bootstrap <hr> more */ | ||
} | ||
|
||
/* Thin out the marketing headings */ | ||
.featurette-heading { | ||
font-weight: 300; | ||
line-height: 1; | ||
} | ||
|
||
|
||
/* RESPONSIVE CSS | ||
-------------------------------------------------- */ | ||
|
||
@media (min-width: 40em) { | ||
/* Bump up size of carousel content */ | ||
.carousel-caption p { | ||
margin-bottom: 1.25rem; | ||
font-size: 1.25rem; | ||
line-height: 1.4; | ||
} | ||
|
||
.featurette-heading { | ||
font-size: 50px; | ||
} | ||
} | ||
|
||
@media (min-width: 62em) { | ||
.featurette-heading { | ||
margin-top: 7rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.