Skip to content

Commit

Permalink
Vertically center the main text with padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ImsirovicAjdin committed Oct 9, 2019
1 parent 99be830 commit 51db3f0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.html
Expand Up @@ -9,6 +9,17 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

<title>Hello, world!</title>

<style>
@media(min-width: 768px) {
section {
padding-top: 13.3125rem;
}
section {
padding-bottom: 7.5rem;
}
}
</style>
</head>
<body>
<nav class="bg-primaryX text-lightX navbar navbar-expand-xl navbar-dark navbar-togglable fixed-top">
Expand Down

0 comments on commit 51db3f0

Please sign in to comment.