Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0;
- font-size: 28px;
- font-family: Arial, Helvetica, sans-serif;
- width: 100%;
- background: #bbb;
- -webkit-user-select: none; /* Safari */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* IE10+/Edge */
- user-select: none; /* Standard */
- }
- header {
- background-color: #f1f1f1;
- padding: 1px;
- }
- h2 {
- margin: 1em 0em 0.5em 1em;
- }
- #navbar {
- overflow: hidden;
- background-color: #03326f;
- padding: 0px;
- }
- #navbar ul {
- list-style: none;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0;
- margin: 0.7em 1.5em 0.7em 1.5em;
- }
- #navbar ul li a {
- padding: 0;
- border-radius: 5px;
- transition: all 0.5s ease-in-out;
- font: 18px verdana, sans-serif;
- text-decoration: none;
- color: #fff;
- position: relative;
- }
- #navbar ul li a:before {
- content: "";
- position: absolute;
- width: 100%;
- height: 2px;
- bottom: 0;
- left: 0;
- background-color: #fff;
- visibility: hidden;
- -webkit-transform: scaleX(0);
- transform: scaleX(0);
- -webkit-transition: all 0.5s ease-in-out 0s;
- transition: all 0.5s ease-in-out 0s;
- }
- #navbar ul li a:hover:before {
- visibility: visible;
- -webkit-transform: scaleX(1);
- transform: scaleX(1);
- background-color: #fff;
- }
- #navbar a {
- float: left;
- display: block;
- color: #f2f2f2;
- text-align: center;
- padding: 14px 16px;
- text-decoration: none;
- font-size: 17px;
- }
- /* adds an underline animation when the link is hovered over by the user */
- #quotelink a:before {
- content: "";
- position: absolute;
- width: 100%;
- height: 2px;
- bottom: 0;
- left: 0;
- background-color: #000;
- visibility: hidden;
- -webkit-transform: scaleX(0);
- transform: scaleX(0);
- -webkit-transition: all 0.5s ease-in-out 0s;
- transition: all 0.5s ease-in-out 0s;
- }
- #quotelink a:hover:before {
- visibility: visible;
- -webkit-transform: scaleX(1);
- transform: scaleX(1);
- background-color: #000;
- }
- #quotelink a{
- position: relative;
- color: #000;
- text-decoration: none;
- font-family: candara, sans-serif;
- transition: all 0.5s ease-in-out;
- }
- .container {
- padding: 0px;
- }
- .sticky {
- position: fixed;
- margin: 0 auto;
- top: 0;
- width: 100%;
- }
- .sticky + .container {
- padding-top: 60px;
- }
- h1 {
- font-size: 150%;
- text-align: center;
- padding: 0;
- font-family: Candara, sans-serif;
- }
- h2 {
- font-size: 100%;
- }
- #content {
- margin: 0em 1em 0em 1em;
- text-align: center;
- justify-content: space-between;
- font: 20px verdana, sans-serif;
- }
- /* Gallery
- ------------------------------------------------------------*/
- .gallery {
- padding-top: 50px;
- list-style: none;
- display: block;
- margin: 1em;
- justify-content: center; /* flex-start; */
- overflow: hidden;
- }
- .gallery li {
- margin-right: 1em;
- }
- .gallery img {
- border: 3px solid #a2c7f7;
- transition: all 1s ease-in-out;
- border-radius: 3px;
- display: flex;
- width: 100%;
- overflow: hidden;
- }
- .gallery a {
- display: inline-block;
- }
- .gallery img:hover {
- border: 3px solid #fff;
- }
- .gallery li div.item {
- position: relative;
- overflow: hidden;
- }
- .gallery li div.item span {
- text-align: center;
- position: absolute;
- bottom: -50px;
- left: 0;
- width: 100%; /* must be equal to .gallery img width */
- background: #ffffff;
- background: rgba (255,255,255,.8);
- padding: 0.7em 0 0.7em 0;
- transition: all 0.75s ease-in-out;
- }
- .gallery li div.item:hover span {
- bottom: 0;
- }
- span {
- font: 15px candara, sans-serif;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement