From 06582edb2a396a12665699ed73625031a413ca93 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 3 Dec 2012 13:01:27 -0800 Subject: Improve rendering of carousel example for IE10 --- docs/examples/carousel.html | 104 ++++++++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 47 deletions(-) (limited to 'docs/examples') diff --git a/docs/examples/carousel.html b/docs/examples/carousel.html index 42b95dd7e..b71e74617 100644 --- a/docs/examples/carousel.html +++ b/docs/examples/carousel.html @@ -28,11 +28,17 @@ /* Special class on .container surrounding .navbar, used for positioning it into place. */ .navbar-wrapper { - position: relative; + position: absolute; + top: 0; + left: 0; + right: 0; z-index: 10; margin-top: 20px; margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */ } + .navbar-wrapper .navbar { + + } /* Remove border and change up box shadow for more contrast */ .navbar .navbar-inner { @@ -71,24 +77,26 @@ } .carousel .container { - position: absolute; - right: 0; - bottom: 0; - left: 0; + position: relative; + z-index: 10; } .carousel-control { - background-color: transparent; - border: 0; - font-size: 120px; + height: 80px; margin-top: 0; + font-size: 120px; text-shadow: 0 1px 1px rgba(0,0,0,.4); + background-color: transparent; + border: 0; } .carousel .item { height: 500px; } .carousel img { + position: absolute; + top: 0; + left: 0; min-width: 100%; height: 500px; } @@ -98,7 +106,7 @@ position: static; max-width: 550px; padding: 0 20px; - margin-bottom: 100px; + margin-top: 200px; } .carousel-caption h1, .carousel-caption .lead { @@ -219,7 +227,7 @@ .carousel-caption { width: 65%; padding: 0 70px; - margin-bottom: 40px; + margin-top: 100px; } .carousel-caption h1 { font-size: 30px; @@ -263,43 +271,45 @@ - - + -- cgit v1.2.3 From 0f2a423b8d48eddc9299b0bc4de40a185367556a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 3 Dec 2012 13:25:56 -0800 Subject: Once more, update all the favicons to retina --- docs/examples/carousel.html | 6 +++--- docs/examples/fluid.html | 6 +++--- docs/examples/hero.html | 6 +++--- docs/examples/marketing-alternate.html | 6 +++--- docs/examples/marketing-narrow.html | 6 +++--- docs/examples/signin.html | 6 +++--- docs/examples/starter-template.html | 6 +++--- docs/examples/sticky-footer.html | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) (limited to 'docs/examples') diff --git a/docs/examples/carousel.html b/docs/examples/carousel.html index b71e74617..ed7740a94 100644 --- a/docs/examples/carousel.html +++ b/docs/examples/carousel.html @@ -258,11 +258,11 @@ - - - + + + diff --git a/docs/examples/fluid.html b/docs/examples/fluid.html index 517e209b7..4ca2920ef 100644 --- a/docs/examples/fluid.html +++ b/docs/examples/fluid.html @@ -26,11 +26,11 @@ - - - + + + diff --git a/docs/examples/hero.html b/docs/examples/hero.html index 97e0d2410..f0a5e1709 100644 --- a/docs/examples/hero.html +++ b/docs/examples/hero.html @@ -23,11 +23,11 @@ - - - + + + diff --git a/docs/examples/marketing-alternate.html b/docs/examples/marketing-alternate.html index b9011df13..8cbeb02a2 100644 --- a/docs/examples/marketing-alternate.html +++ b/docs/examples/marketing-alternate.html @@ -86,11 +86,11 @@ - - - + + + diff --git a/docs/examples/marketing-narrow.html b/docs/examples/marketing-narrow.html index a05d1ca4a..9ce1cd5bc 100644 --- a/docs/examples/marketing-narrow.html +++ b/docs/examples/marketing-narrow.html @@ -54,11 +54,11 @@ - - - + + + diff --git a/docs/examples/signin.html b/docs/examples/signin.html index 379bac708..17578483a 100644 --- a/docs/examples/signin.html +++ b/docs/examples/signin.html @@ -50,11 +50,11 @@ - - - + + + diff --git a/docs/examples/starter-template.html b/docs/examples/starter-template.html index 8f14bf7e1..93ba809e3 100644 --- a/docs/examples/starter-template.html +++ b/docs/examples/starter-template.html @@ -22,11 +22,11 @@ - - - + + + diff --git a/docs/examples/sticky-footer.html b/docs/examples/sticky-footer.html index 50fab606b..1c9c36149 100644 --- a/docs/examples/sticky-footer.html +++ b/docs/examples/sticky-footer.html @@ -71,11 +71,11 @@ - - - + + + -- cgit v1.2.3