Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'https://fonts.googleapis.com/css?family=Raleway:100,200,300,400';
- @import url(http://fonts.googleapis.com/css?family=Roboto);
- * {
- margin:0;
- padding:0;
- }
- html, body {
- font-family: 'Raleway', sans-serif;
- margin:0;
- padding:0;
- height:auto;
- background-color: rgba(255,255,255,1);
- }
- .container {
- min-height:100%;
- position:relative;
- background-color: rgba(255,255,255,1);
- }
- .title {
- font-family: 'roboto', sans-serif;
- text-align: center;
- color: rgba(1,1,1,0.2);
- margin: 4% 0;
- font-size: 5vmax;
- }
- .greeting {
- font-family: 'roboto', sans-serif;
- text-align: center;
- color: rgba(1,1,1,0.6);
- margin: 4% 0;
- font-size: 2vmax;
- }
- .information {
- display: flex;
- float: middle;
- text-align: center;
- vertical-align: center;
- width: 100%;
- height: auto;
- justify-content: center;
- }
- .cubiccont {
- margin: 1% 1%;
- float: left;
- height: 15vmax;
- width: 15%;
- border: 3px dashed rgba(1,1,1,0.3);
- }
- .contfigure {
- width: 100%;
- height: 80%;
- }
- .conttext {
- width: 100%;
- height: 20%;
- background-color: rgba(1,1,1,)
- }
- .conttext h3 {
- font-family: 'roboto', sans-serif;
- text-align: middle;
- font-size: 1vmax;
- color: rgba(1,1,1,0.6);
- }
- .contfigure h2 {
- font-family: 'roboto', sans-serif;
- color: rgba(1,1,1,0.2);
- font-size: 10vmax;
- }
- a {
- font-family: 'Roboto';
- text-decoration: none;
- margin: 1%;
- padding: 1%;
- width: 15%;
- cursor: pointer;
- background: white;
- text-decoration: none;
- color: SALMON;
- border: 3px solid SALMON;
- }
- .content {
- text-align: center;
- }
- .button {
- display: inline-block;
- vertical-align: middle;
- -webkit-transform: translateZ(0);
- transform: translateZ(0);
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -moz-osx-font-smoothing: grayscale;
- position: relative;
- -webkit-transition-property: color;
- transition-property: color;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .button:before {
- content: "";
- position: absolute;
- z-index: -1;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: SALMON;
- -webkit-transform: scaleY(0);
- transform: scaleY(0);
- -webkit-transform-origin: 50% 0;
- transform-origin: 50% 0;
- -webkit-transition-property: transform;
- transition-property: transform;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- -webkit-transition-timing-function: ease-out;
- transition-timing-function: ease-out;
- }
- .button:hover, .button:focus, .button:active {
- color: WHITE;
- }
- .button:hover:before, .button:focus:before, .button:active:before {
- -webkit-transform: scaleY(1);
- transform: scaleY(1);
- -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
- transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
- }
- /* The side navigation menu */
- .sidenav {
- height: 100%; /* 100% Full-height */
- width: 0; /* 0 width - change this with JavaScript */
- position: fixed; /* Stay in place */
- z-index: 1; /* Stay on top */
- top: 0;
- left: 0;
- background-color: #111; /* Black*/
- overflow-x: hidden; /* Disable horizontal scroll */
- padding-top: 60px; /* Place content 60px from the top */
- transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
- }
- .sidenav a:nth-child(1),
- .sidenav a:nth-child(2),
- .sidenav a:nth-child(3),
- .sidenav a:nth-child(4) {
- margin: 0;
- width: 100%;
- padding: 8px 8px 8px 32px;
- text-decoration: none;
- font-size: 25px;
- color: SALMON;
- background-color: rgba(1,1,1,0);
- border: none;
- display: block;
- transition: 0.3s
- }
- .sidenav a:nth-child(1) {
- padding: 0;
- float: right;
- width: auto;
- font-size: 3vmax;
- }
- .sidenav a:hover, .offcanvas a:focus{
- color: #f1f1f1;
- }
- .sidenav .closebtn {
- position: absolute;
- top: 0;
- right: 25px;
- font-size: 36px;
- margin-left: 50px;
- }
- #main {
- transition: margin-left .5s;
- padding: 20px;
- }
- /* On smaller screens, where height is less than 450px, change the style of the sidenav
- (less padding and a smaller font size) */
- @media screen and (max-height: 450px) {
- .sidenav {padding-top: 15px;}
- .sidenav a {font-size: 18px;}
- }
- /* End The side navigation menu */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement