Browse Source

add bootstrap page

master
VirtuBox 3 years ago
parent
commit
8ed563bee0
  1. 1
      README.md
  2. 7
      bootstrap.min.css
  3. 1
      bootstrap.min.css.map
  4. 7
      bootstrap.min.js
  5. 1
      bootstrap.min.js.map
  6. 106
      cover.css
  7. 51
      index.html
  8. 2
      jquery-slim.min.js
  9. 5
      popper.min.js

1
README.md

@ -1 +0,0 @@
nginx-default-page

7
bootstrap.min.css

File diff suppressed because one or more lines are too long

1
bootstrap.min.css.map

File diff suppressed because one or more lines are too long

7
bootstrap.min.js

File diff suppressed because one or more lines are too long

1
bootstrap.min.js.map

File diff suppressed because one or more lines are too long

106
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);
}

51
index.html

@ -0,0 +1,51 @@
<!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="">
<title>Nginx default page</title>
<!-- Bootstrap core CSS -->
<link href="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">
</div>
</header>
<main role="main" class="inner cover">
<h1 class="cover-heading">Welcome to nginx!</h1>
</main>
<footer class="mastfoot mt-auto">
<div class="inner">
<p>Hosted by <a href="https://virtubox.net/">VirtuBox</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="jquery-slim.min.js"><\/script>')</script>
<script src="popper.min.js"></script>
<script src="bootstrap.min.js"></script>
</body>
</html>

2
jquery-slim.min.js

File diff suppressed because one or more lines are too long

5
popper.min.js

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save