From 89061b0517f716b9fbb7a1d7ec75afe37e051370 Mon Sep 17 00:00:00 2001 From: Joah Gerstenberg Date: Wed, 4 Dec 2013 06:26:12 -0600 Subject: Updates Bootstrap thumbnail --- examples/screenshots/jumbotron.jpg | Bin 77911 -> 122180 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'examples') diff --git a/examples/screenshots/jumbotron.jpg b/examples/screenshots/jumbotron.jpg index 46bce0c53..60c0b79c2 100644 Binary files a/examples/screenshots/jumbotron.jpg and b/examples/screenshots/jumbotron.jpg differ -- cgit v1.2.3 From 73bc7d9f12b24ac71eed830ac1c345e890bc27c3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 20:51:25 -0800 Subject: Add new template, Dashboard --- examples/dashboard/dashboard.css | 93 ++++++++++++++ examples/dashboard/index.html | 243 +++++++++++++++++++++++++++++++++++++ examples/screenshots/dashboard.jpg | Bin 0 -> 104850 bytes 3 files changed, 336 insertions(+) create mode 100644 examples/dashboard/dashboard.css create mode 100644 examples/dashboard/index.html create mode 100644 examples/screenshots/dashboard.jpg (limited to 'examples') diff --git a/examples/dashboard/dashboard.css b/examples/dashboard/dashboard.css new file mode 100644 index 000000000..750124bf8 --- /dev/null +++ b/examples/dashboard/dashboard.css @@ -0,0 +1,93 @@ +/* + * Base structure + */ + +/* Move down content because we have a fixed navbar that is 50px tall */ +body { + padding-top: 50px; +} + + +/* + * Global add-ons + */ + +.sub-header { + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + + +/* + * Sidebar + */ + +/* Hide for mobile, show later */ +.sidebar { + display: none; +} +@media (min-width: 768px) { + .sidebar { + position: fixed; + top: 0; + left: 0; + bottom: 0; + z-index: 1000; + display: block; + padding: 70px 20px 20px; + background-color: #f5f5f5; + border-right: 1px solid #eee; + } +} + +/* Sidebar navigation */ +.nav-sidebar { + margin-left: -20px; + margin-right: -21px; /* 20px padding + 1px border */ + margin-bottom: 20px; +} +.nav-sidebar > li > a { + padding-left: 20px; + padding-right: 20px; +} +.nav-sidebar > .active > a { + color: #fff; + background-color: #428bca; +} + + +/* + * Main content + */ + +.main { + padding: 20px; +} +@media (min-width: 768px) { + .main { + padding-left: 40px; + pading-right: 40px; + } +} +.main .page-header { + margin-top: 0; +} + + +/* + * Placeholder dashboard ideas + */ + +.placeholders { + margin-bottom: 30px; + text-align: center; +} +.placeholders h4 { + margin-bottom: 0; +} +.placeholder { + margin-bottom: 20px; +} +.placeholder img { + border-radius: 50%; +} diff --git a/examples/dashboard/index.html b/examples/dashboard/index.html new file mode 100644 index 000000000..47ca987de --- /dev/null +++ b/examples/dashboard/index.html @@ -0,0 +1,243 @@ + + + + + + + + + + + Dashboard Template for Bootstrap + + + + + + + + + + + + + + + + + + +
+
+ +
+

Dashboard

+ +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ Generic placeholder thumbnail +

Label

+ Something else +
+
+ +

Section title

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#HeaderHeaderHeaderHeader
1,001Loremipsumdolorsit
1,002ametconsecteturadipiscingelit
1,003IntegernecodioPraesent
1,003liberoSedcursusante
1,004dapibusdiamSednisi
1,005Nullaquissemat
1,006nibhelementumimperdietDuis
1,007sagittisipsumPraesentmauris
1,008Fuscenectellussed
1,009auguesemperportaMauris
1,010massaVestibulumlaciniaarcu
1,011egetnullaClassaptent
1,012tacitisociosquadlitora
1,013torquentperconubianostra
1,014perinceptoshimenaeosCurabitur
1,015sodalesligulainlibero
+
+
+
+
+ + + + + + + + diff --git a/examples/screenshots/dashboard.jpg b/examples/screenshots/dashboard.jpg new file mode 100644 index 000000000..3da6d11b3 Binary files /dev/null and b/examples/screenshots/dashboard.jpg differ -- cgit v1.2.3 From 90cbfc76e48659ac657ab272df9d37f99ca57cd4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 23:23:41 -0800 Subject: Add new template, Cover --- examples/cover/cover.css | 160 +++++++++++++++++++++++++++++++++++++++++ examples/cover/index.html | 75 +++++++++++++++++++ examples/screenshots/cover.jpg | Bin 0 -> 42977 bytes 3 files changed, 235 insertions(+) create mode 100644 examples/cover/cover.css create mode 100644 examples/cover/index.html create mode 100644 examples/screenshots/cover.jpg (limited to 'examples') diff --git a/examples/cover/cover.css b/examples/cover/cover.css new file mode 100644 index 000000000..177ce03bf --- /dev/null +++ b/examples/cover/cover.css @@ -0,0 +1,160 @@ +/* + * Globals + */ + +/* Links */ +a, +a:focus, +a:hover { + color: #fff; +} + +/* Custom default button */ +.btn-default, +.btn-default:hover, +.btn-default:focus { + color: #333; + text-shadow: none; /* Prevent inheritence from `body` */ + background-color: #fff; + border: 1px solid #fff; +} + + +/* + * Base structure + */ + +html, +body { + height: 100%; + background-color: #333; +} +body { + color: #fff; + text-align: center; + text-shadow: 0 1px 3px rgba(0,0,0,.5); + box-shadow: inset 0 0 100px rgba(0,0,0,.5); +} + +/* Extra markup and styles for table-esque vertical and horizontal centering */ +.site-wrapper { + display: table; + width: 100%; + min-height: 100%; +} +.site-wrapper-inner { + display: table-cell; + vertical-align: top; +} +.cover-container { + margin-left: auto; + margin-right: auto; +} + +/* Padding for spacing */ +.inner { + padding: 30px; +} + + +/* + * Header + */ +.masthead-brand { + margin-top: 10px; + margin-bottom: 10px; +} + +.masthead-nav > li { + display: inline-block; +} +.masthead-nav > li + li { + margin-left: 20px; +} +.masthead-nav > li > a { + padding-left: 0; + padding-right: 0; + font-size: 16px; + font-weight: bold; + color: #fff; /* IE8 proofing */ + color: rgba(255,255,255,.75); + border-bottom: 2px solid transparent; +} +.masthead-nav > li > a:hover, +.masthead-nav > li > a:focus { + background-color: transparent; + border-bottom-color: rgba(255,255,255,.25); +} +.masthead-nav > .active > a, +.masthead-nav > .active > a:hover, +.masthead-nav > .active > a:focus { + color: #fff; + border-bottom-color: #fff; +} + +@media (min-width: 768px) { + .masthead-brand { + float: left; + } + .masthead-nav { + float: right; + } +} + + +/* + * Cover + */ + +.cover { + padding: 0 20px; +} +.cover .btn-lg { + padding: 10px 20px; + font-weight: bold; +} + + +/* + * Footer + */ + +.mastfoot { + color: #999; /* IE8 proofing */ + color: rgba(255,255,255,.5); +} + + +/* + * Affix and center + */ + +@media (min-width: 768px) { + /* Pull out the header and footer */ + .masthead { + position: fixed; + top: 0; + } + .mastfoot { + position: fixed; + bottom: 0; + } + /* Start the vertical centering */ + .site-wrapper-inner { + vertical-align: middle; + } + /* Handle the widths */ + .masthead, + .mastfoot, + .cover-container { + width: 100%; /* Must be percentage or pixels for horizontal alignment */ + } +} + +@media (min-width: 992px) { + .masthead, + .mastfoot, + .cover-container { + width: 700px; + } +} diff --git a/examples/cover/index.html b/examples/cover/index.html new file mode 100644 index 000000000..ae9ca1829 --- /dev/null +++ b/examples/cover/index.html @@ -0,0 +1,75 @@ + + + + + + + + + + + Cover Template for Bootstrap + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+
+

Cover

+ +
+
+ +
+

Cover your page.

+

Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.

+

+ Learn more +

+
+ +
+
+

Cover template for Bootstrap, by @mdo.

+
+
+ +
+ +
+ +
+ + + + + + + + diff --git a/examples/screenshots/cover.jpg b/examples/screenshots/cover.jpg new file mode 100644 index 000000000..d627519b6 Binary files /dev/null and b/examples/screenshots/cover.jpg differ -- cgit v1.2.3 From d70f4e895cfbe8915920d149bdcde8a14c9dab88 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 23:49:03 -0800 Subject: image compression --- examples/screenshots/cover.jpg | Bin 42977 -> 36631 bytes examples/screenshots/dashboard.jpg | Bin 104850 -> 105375 bytes examples/screenshots/jumbotron.jpg | Bin 122180 -> 101215 bytes examples/screenshots/theme.jpg | Bin 95407 -> 85467 bytes 4 files changed, 0 insertions(+), 0 deletions(-) (limited to 'examples') diff --git a/examples/screenshots/cover.jpg b/examples/screenshots/cover.jpg index d627519b6..2a81259de 100644 Binary files a/examples/screenshots/cover.jpg and b/examples/screenshots/cover.jpg differ diff --git a/examples/screenshots/dashboard.jpg b/examples/screenshots/dashboard.jpg index 3da6d11b3..fb7b0526d 100644 Binary files a/examples/screenshots/dashboard.jpg and b/examples/screenshots/dashboard.jpg differ diff --git a/examples/screenshots/jumbotron.jpg b/examples/screenshots/jumbotron.jpg index 60c0b79c2..30c11a2c8 100644 Binary files a/examples/screenshots/jumbotron.jpg and b/examples/screenshots/jumbotron.jpg differ diff --git a/examples/screenshots/theme.jpg b/examples/screenshots/theme.jpg index ef47acb9c..ad527b55a 100644 Binary files a/examples/screenshots/theme.jpg and b/examples/screenshots/theme.jpg differ -- cgit v1.2.3 From e349fb2114804f35e8602a3936b84242ae32420e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Dec 2013 02:14:43 -0800 Subject: fix validation failure --- examples/dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/dashboard/index.html b/examples/dashboard/index.html index 47ca987de..e721aa16a 100644 --- a/examples/dashboard/index.html +++ b/examples/dashboard/index.html @@ -46,7 +46,7 @@
  • Profile
  • Help
  • - -- cgit v1.2.3 From fbf31f965e27a6665c7e0f2d97eb74c0df7585d4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 11 Dec 2013 16:45:41 -0800 Subject: Add new template, Cover --- examples/blog/blog.css | 163 ++++++++++++++++++++++++++++++++++++++++++++ examples/blog/index.html | 171 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 334 insertions(+) create mode 100644 examples/blog/blog.css create mode 100644 examples/blog/index.html (limited to 'examples') diff --git a/examples/blog/blog.css b/examples/blog/blog.css new file mode 100644 index 000000000..b9895ac9a --- /dev/null +++ b/examples/blog/blog.css @@ -0,0 +1,163 @@ +/* + * Globals + */ + +body { + +} + +h1, .h1, +h2, .h2, +h3, .h3, +h4, .h4, +h5, .h5, +h6, .h6 { + margin-top: 0; +} + +/* + * Override Bootstrap's default container. + */ + +@media (min-width: 1200px) { + .container { + width: 970px; + } +} + + +/* + * Masthead for nav + */ + +.blog-masthead { + background-color: #428bca; + box-shadow: inset 0 -2px 5px rgba(0,0,0,.1); +} + +/* Nav links */ +.blog-nav { + +} +.blog-nav-item { + position: relative; + display: inline-block; + padding: 10px; + font-weight: 500; + color: #cdddeb; +} +.blog-nav-item:hover, +.blog-nav-item:focus { + color: #fff; + text-decoration: none; +} + +/* Active state gets a caret at the bottom */ +.blog-nav .active { + color: #fff; +} +.blog-nav .active:after { + position: absolute; + bottom: 0; + left: 50%; + display: block; + content: " "; + width: 0; + height: 0; + margin-left: -5px; + vertical-align: middle; + border-right: 5px solid transparent; + border-left: 5px solid transparent; + border-bottom: 5px solid; +} + + +/* + * Blog name and description + */ + +.blog-header { + padding-top: 20px; + padding-bottom: 20px; +} +.blog-title { + margin-top: 30px; + margin-bottom: 0; + font-size: 60px; + font-weight: normal; +} +.blog-description { + font-size: 20px; + color: #999; +} + + +/* + * Main column and sidebar layout + */ + +.blog-main { + font-size: 16px; + line-height: 1.5; +} + +/* Sidebar modules for boxing content */ +.sidebar-module { + padding: 15px; + margin: 0 -15px 15px; +} +.sidebar-module-inset { + padding: 15px; + background-color: #f5f5f5; + border-radius: 4px; +} +.sidebar-module-inset p:last-child, +.sidebar-module-inset ul:last-child, +.sidebar-module-inset ol:last-child { + margin-bottom: 0; +} + + + +/* Pagination */ +.pager { + margin-bottom: 60px; + text-align: left; +} +.pager > li > a { + width: 140px; + padding: 10px 20px; + text-align: center; + border-radius: 30px; +} + + +/* + * Blog posts + */ + +.blog-post { + margin-bottom: 60px; +} +.blog-post-title { + margin-bottom: 5px; + font-size: 40px; +} +.blog-post-meta { + margin-bottom: 20px; + color: #999; +} + + +/* + * Footer + */ + +.blog-footer { + padding: 40px 0; + color: #999; + text-align: center; + background-color: #f9f9f9; + border-top: 1px solid #e5e5e5; +} + diff --git a/examples/blog/index.html b/examples/blog/index.html new file mode 100644 index 000000000..06e8243a0 --- /dev/null +++ b/examples/blog/index.html @@ -0,0 +1,171 @@ + + + + + + + + + + + Blog Template for Bootstrap + + + + + + + + + + + + + + + + +
    + +
    + +
    + +
    +

    The Bootstrap Blog

    +

    The official example template of creating a blog with Bootstrap.

    +
    + +
    + +
    + +
    +

    Sample blog post

    + + +

    This blog post shows a few different types of content that's supported and styled with Bootstrap. Basic typography, images, and code are all supported.

    +
    +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

    +
    +

    Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

    +
    +

    Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

    +

    Heading

    +

    Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

    +

    Sub-heading

    +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.

    +
    Example code block
    +

    Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.

    +

    Sub-heading

    +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

    +
      +
    • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
    • +
    • Donec id elit non mi porta gravida at eget metus.
    • +
    • Nulla vitae elit libero, a pharetra augue.
    • +
    +

    Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

    +
      +
    1. Vestibulum id ligula porta felis euismod semper.
    2. +
    3. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
    4. +
    5. Maecenas sed diam eget risus varius blandit sit amet non magna.
    6. +
    +

    Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.

    +
    + +
    +

    Another blog post

    + + +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

    +
    +

    Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.

    +
    +

    Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

    +

    Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

    +
    + +
    +

    New feature

    + + +

    Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

    +
      +
    • Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
    • +
    • Donec id elit non mi porta gravida at eget metus.
    • +
    • Nulla vitae elit libero, a pharetra augue.
    • +
    +

    Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

    +

    Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.

    +
    + + + +
    + +
    + + + +
    + +
    + +
    + + + + + + + + + + + -- cgit v1.2.3 From f60b8169c67fd5c79fb026071f9334dcf1e9f636 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Dec 2013 11:33:06 -0800 Subject: finalize blog template --- examples/blog/blog.css | 9 +++++++-- examples/screenshots/blog.jpg | Bin 0 -> 122350 bytes 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 examples/screenshots/blog.jpg (limited to 'examples') diff --git a/examples/blog/blog.css b/examples/blog/blog.css index b9895ac9a..82ba9d0d5 100644 --- a/examples/blog/blog.css +++ b/examples/blog/blog.css @@ -3,7 +3,8 @@ */ body { - + font-family: Georgia, "Times New Roman", Times, serif; + color: #555; } h1, .h1, @@ -12,9 +13,13 @@ h3, .h3, h4, .h4, h5, .h5, h6, .h6 { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;; + font-weight: normal; + color: #333; margin-top: 0; } + /* * Override Bootstrap's default container. */ @@ -97,7 +102,7 @@ h6, .h6 { */ .blog-main { - font-size: 16px; + font-size: 18px; line-height: 1.5; } diff --git a/examples/screenshots/blog.jpg b/examples/screenshots/blog.jpg new file mode 100644 index 000000000..13425d3bf Binary files /dev/null and b/examples/screenshots/blog.jpg differ -- cgit v1.2.3