Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2018-04-09 19:00:23 +0300
committerGitHub <noreply@github.com>2018-04-09 19:00:23 +0300
commit8f7bd419935adfcd53c471a0202083464800619e (patch)
treed0e6ab018a0f41b59a1206cf72ffc79a474e69b9 /docs/4.1/examples/cover
parent91730a644f107ca80a747a6f7f0c173eca5708fa (diff)
Ship v4.1.0 (#26218)v4.1.0
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
Diffstat (limited to 'docs/4.1/examples/cover')
-rw-r--r--docs/4.1/examples/cover/cover.css106
-rw-r--r--docs/4.1/examples/cover/index.html57
2 files changed, 163 insertions, 0 deletions
diff --git a/docs/4.1/examples/cover/cover.css b/docs/4.1/examples/cover/cover.css
new file mode 100644
index 0000000000..7c6d33cdd5
--- /dev/null
+++ b/docs/4.1/examples/cover/cover.css
@@ -0,0 +1,106 @@
+/*
+ * Globals
+ */
+
+/* Links */
+a,
+a:focus,
+a:hover {
+ color: #fff;
+}
+
+/* Custom default button */
+.btn-secondary,
+.btn-secondary:hover,
+.btn-secondary:focus {
+ color: #333;
+ text-shadow: none; /* Prevent inheritance from `body` */
+ background-color: #fff;
+ border: .05rem solid #fff;
+}
+
+
+/*
+ * Base structure
+ */
+
+html,
+body {
+ height: 100%;
+ background-color: #333;
+}
+
+body {
+ display: -ms-flexbox;
+ display: flex;
+ color: #fff;
+ text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
+ box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
+}
+
+.cover-container {
+ max-width: 42em;
+}
+
+
+/*
+ * Header
+ */
+.masthead {
+ margin-bottom: 2rem;
+}
+
+.masthead-brand {
+ margin-bottom: 0;
+}
+
+.nav-masthead .nav-link {
+ padding: .25rem 0;
+ font-weight: 700;
+ color: rgba(255, 255, 255, .5);
+ background-color: transparent;
+ border-bottom: .25rem solid transparent;
+}
+
+.nav-masthead .nav-link:hover,
+.nav-masthead .nav-link:focus {
+ border-bottom-color: rgba(255, 255, 255, .25);
+}
+
+.nav-masthead .nav-link + .nav-link {
+ margin-left: 1rem;
+}
+
+.nav-masthead .active {
+ color: #fff;
+ border-bottom-color: #fff;
+}
+
+@media (min-width: 48em) {
+ .masthead-brand {
+ float: left;
+ }
+ .nav-masthead {
+ float: right;
+ }
+}
+
+
+/*
+ * Cover
+ */
+.cover {
+ padding: 0 1.5rem;
+}
+.cover .btn-lg {
+ padding: .75rem 1.25rem;
+ font-weight: 700;
+}
+
+
+/*
+ * Footer
+ */
+.mastfoot {
+ color: rgba(255, 255, 255, .5);
+}
diff --git a/docs/4.1/examples/cover/index.html b/docs/4.1/examples/cover/index.html
new file mode 100644
index 0000000000..0a0effca57
--- /dev/null
+++ b/docs/4.1/examples/cover/index.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Cover Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="cover.css" rel="stylesheet">
+ </head>
+
+ <body class="text-center">
+
+ <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
+ <header class="masthead mb-auto">
+ <div class="inner">
+ <h3 class="masthead-brand">Cover</h3>
+ <nav class="nav nav-masthead justify-content-center">
+ <a class="nav-link active" href="#">Home</a>
+ <a class="nav-link" href="#">Features</a>
+ <a class="nav-link" href="#">Contact</a>
+ </nav>
+ </div>
+ </header>
+
+ <main role="main" class="inner cover">
+ <h1 class="cover-heading">Cover your page.</h1>
+ <p class="lead">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.</p>
+ <p class="lead">
+ <a href="#" class="btn btn-lg btn-secondary">Learn more</a>
+ </p>
+ </main>
+
+ <footer class="mastfoot mt-auto">
+ <div class="inner">
+ <p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
+ </div>
+ </footer>
+ </div>
+
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>