This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
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.
- Loading branch information
Showing
7 changed files
with
82 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en" class="vertical-align-middle"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<title>Theme Template for Bootstrap</title> | ||
|
||
<!-- Bootstrap core CSS --> | ||
<link href="../../dist/css/bootstrap.css" rel="stylesheet"> | ||
|
||
</head> | ||
|
||
<body role="document"> | ||
<div class="table-row"> | ||
<section> | ||
<div class="container text-center"> | ||
<h1>Part 1</h1> | ||
</div> | ||
</section> | ||
</div> | ||
<div class="table-row"> | ||
<section> | ||
<div class="container text-center"> | ||
<h1>Part 2</h1> | ||
</div> | ||
</section> | ||
</div> | ||
<!-- Bootstrap core JavaScript | ||
================================================== --> | ||
<!-- Placed at the end of the document so the pages load faster --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | ||
<script src="../../dist/js/bootstrap.js"></script> | ||
</body> | ||
</html> |
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,18 @@ | ||
html.vertical-align-middle { | ||
width: 100%; | ||
height: 100%; | ||
body { | ||
display: table; | ||
width: 100%; | ||
height: 100%; | ||
.table-row { | ||
display: table-row; | ||
} | ||
.table-row > section, > section { | ||
display: table-cell; | ||
vertical-align: middle; | ||
padding-top:20px; | ||
padding-bottom:70px; | ||
} | ||
} | ||
} |