From 3e76d6565603fafa2c85ad81d7b6345c4e279c72 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 May 2017 22:50:57 -0700 Subject: Rearrange all the docs to allow for a docs/major.minor/ setup --- docs/4.0/examples/carousel/carousel.css | 91 ++++++++++++++++ docs/4.0/examples/carousel/index.html | 186 ++++++++++++++++++++++++++++++++ 2 files changed, 277 insertions(+) create mode 100644 docs/4.0/examples/carousel/carousel.css create mode 100644 docs/4.0/examples/carousel/index.html (limited to 'docs/4.0/examples/carousel') diff --git a/docs/4.0/examples/carousel/carousel.css b/docs/4.0/examples/carousel/carousel.css new file mode 100644 index 000000000..5fbdea52e --- /dev/null +++ b/docs/4.0/examples/carousel/carousel.css @@ -0,0 +1,91 @@ +/* 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 { + z-index: 10; + bottom: 3rem; +} + +/* Declare heights because of positioning of img element */ +.carousel-item { + height: 32rem; + background-color: #777; +} +.carousel-item > img { + position: absolute; + top: 0; + left: 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: normal; +} +.marketing .col-lg-4 p { + margin-right: .75rem; + margin-left: .75rem; +} + + +/* Featurettes +------------------------- */ + +.featurette-divider { + margin: 5rem 0; /* Space out the Bootstrap
more */ +} + +/* Thin out the marketing headings */ +.featurette-heading { + font-weight: 300; + line-height: 1; + letter-spacing: -.05rem; +} + + +/* 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; + } +} diff --git a/docs/4.0/examples/carousel/index.html b/docs/4.0/examples/carousel/index.html new file mode 100644 index 000000000..9a55c57ac --- /dev/null +++ b/docs/4.0/examples/carousel/index.html @@ -0,0 +1,186 @@ + + + + + + + + + + Carousel Template for Bootstrap + + + + + + + + + + + + + + + + + +
+ + +
+
+ Generic placeholder image +

Heading

+

Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.

+

View details »

+
+
+ Generic placeholder image +

Heading

+

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

+

View details »

+
+
+ + + + +
+ +
+
+

First featurette heading. It'll blow your mind.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ Generic placeholder image +
+
+ +
+ +
+
+

Oh yeah, it's that good. See for yourself.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ Generic placeholder image +
+
+ +
+ +
+
+

And lastly, this one. Checkmate.

+

Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.

+
+
+ Generic placeholder image +
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + -- cgit v1.2.3 From 0ef7cb866e8eb3289470c57fe35d01f31a4c0e14 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 29 May 2017 11:55:36 -0700 Subject: more examples path fixing --- docs/4.0/examples/carousel/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/4.0/examples/carousel') diff --git a/docs/4.0/examples/carousel/index.html b/docs/4.0/examples/carousel/index.html index 9a55c57ac..95a8bed58 100644 --- a/docs/4.0/examples/carousel/index.html +++ b/docs/4.0/examples/carousel/index.html @@ -10,7 +10,7 @@ Carousel Template for Bootstrap - + @@ -175,12 +175,12 @@ ================================================== --> - + - + - + - + -- cgit v1.2.3