Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 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 */
- }
- /* The navigation menu links */
- .sidenav a {
- padding: 8px 8px 8px 32px;
- text-decoration: none;
- font-size: 25px;
- color: #818181;
- display: block;
- transition: 0.3s
- }
- /* When you mouse over the navigation links, change their color */
- .sidenav a:hover, .offcanvas a:focus{
- color: #f1f1f1;
- }
- /* Position and style the close button (top right corner) */
- .sidenav .closebtn {
- position: absolute;
- top: 0;
- right: 25px;
- font-size: 36px;
- margin-left: 50px;
- }
- /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
- #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;}
- }
- * menu toggle - (_layout.css)
- @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);
- body {
- color: #333;
- font-family: 'Open Sans', sans-serif;
- font-weight: 300;
- }
- h1,
- h1+p {
- margin: 30px 15px 0;
- font-weight: 300;
- }
- h1+p a {
- color: #333;
- }
- h1+p a:hover {
- text-decoration: none;
- }
- h2 {
- margin: 60px 15px 0;
- padding: 0;
- font-weight: 300;
- }
- h2 span {
- margin-left: 1em;
- color: #aaa;
- font-size: 85%;
- }
- .column {
- margin: 15px 15px 0;
- padding: 0;
- }
- .column:last-child {
- padding-bottom: 60px;
- }
- .column::after {
- content: '';
- clear: both;
- display: block;
- }
- .column div {
- position: relative;
- float: left;
- width: 300px;
- height: 200px;
- margin: 0 0 0 25px;
- padding: 0;
- }
- .column div:first-child {
- margin-left: auto;
- }
- .column.hover01
- { display:inline-block !important
- }
- figure {
- width: 300px;
- height: 200px;
- margin: 0;
- padding: 0;
- overflow: hidden;
- border: 5px outset red;
- background-color: #525354;
- }
- figure:hover+span {
- opacity: 1;
- }
- /* Zoom In #1 */
- .hover01 figure img {
- -webkit-transform: scale(1);
- transform: scale(1);
- -webkit-transition: .3s ease-in-out;
- transition: .3s ease-in-out;
- }
- .hover01 figure:hover img {
- -webkit-transform: scale(1.3);
- transform: scale(1.3);
- }
- @keyframes circle {
- 0% {
- opacity: 1;
- }
- 40% {
- opacity: 1;
- }
- 100% {
- width: 200%;
- height: 200%;
- opacity: 0;
- }
- }
- .rowone {
- height: 210px;
- line-height: 210px;
- text-align: center;
- display: table;
- margin: 0 auto;
- }
- }
- .porthead {
- float: left;
- margin: 30px;
- }
- .menu-toggle {
- float: left;
- width: 40px;
- height: 40px;
- margin-left: 0px;
- margin-top: 0px;
- display: block;
- position: relative;
- }
- .menu-toggle span::before {
- top: -8px;
- -moz-transition-property: top, transform;
- -o-transition-property: top, transform;
- -webkit-transition-property: top, transform;
- -ms-transition-property: top, transform;
- transition-property: top, transform;
- }
- .menu-toggle span::after {
- bottom: -8px;
- -moz-transition-property: bottom, transform;
- -o-transition-property: bottom, transform;
- -webkit-transition-property: bottom, transform;
- -ms-transition-property: bottom, transform;
- transition-property: bottom, transform;
- }
- .menu-toggle span::before, .menu-toggle span::after {
- content: '';
- width: 100%;
- height: 100%;
- background-color: inherit;
- position: absolute;
- left: 0;
- -moz-transition-duration: 0.2s, 0.2s;
- -o-transition-duration: 0.2s, 0.2s;
- -webkit-transition-duration: 0.2s, 0.2s;
- -ms-transition-duration: 0.2s, 0.2s;
- transition-duration: 0.2s, 0.2s;
- -moz-transition-delay: 0.2s, 0s;
- -o-transition-delay: 0.2s, 0s;
- -webkit-transition-delay: 0.2s, 0s;
- -ms-transition-delay: 0.2s, 0s;
- transition-delay: 0.2s, 0s;
- }
- .menu-toggle span {
- display: block;
- background-color: #99181e;
- width: 24px;
- height: 3px;
- margin-top: -1.5px;
- font: 0/0 a;
- text-shadow: none;
- color: transparent;
- position: absolute;
- right: 8px;
- top: 50%;
- bottom: auto;
- left: auto;
- -moz-transition: background 0.2s ease-in-out;
- -o-transition: background 0.2s ease-in-out;
- -webkit-transition: background 0.2s ease-in-out;
- -ms-transition: background 0.2s ease-in-out;
- transition: background 0.2s ease-in-out;
- }
- .container {
- position: relative;
- width: 50%;
- }
- .images {
- opacity: 1;
- display: block;
- width: 100%;
- height: auto;
- transition: .5s ease;
- backface-visibility: hidden;
- }
- .middle {
- transition: .5s ease;
- opacity: 0;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%)
- }
- .container:hover .image {
- opacity: 0.3;
- }
- .container:hover .middle {
- opacity: 1;
- }
- .text {
- background-color: #4CAF50;
- color: white;
- font-size: 16px;
- padding: 16px 32px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement