Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *,*:before,*:after {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- background: url('images/body-background.png') repeat center center;
- }
- /* Masthead */
- .masthead {
- margin: 0 auto;
- padding: 3rem 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-left: 10px;
- padding-right: 10px;
- }
- .brand {
- font-family: 'Poppins', sans-serif;
- font-size: 2.2rem;
- letter-spacing: 1.5px;
- text-transform: uppercase;
- }
- .menu-icon {
- font-size: 32px;
- display: none;
- }
- nav {
- font-family: 'Open Sans', sans-serif;
- }
- nav a {
- text-decoration: none;
- color: #666;
- }
- nav ul {
- margin: 0;
- padding: 0;
- list-style-type: none;
- }
- nav > ul > a > li {
- display: inline-block;
- font-size: .9rem;
- padding: 1rem .8rem;
- margin-right: 4rem;
- }
- nav > ul > a:last-child > li {
- margin-right: 0 !important;
- padding-right: 0 !important;
- }
- .dropdown {
- position: relative;
- display: inline-block;
- }
- .dropdown-content {
- display: none;
- position: absolute;
- background-color: #f1f1f1;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- }
- .dropdown-content a {
- color: black;
- padding: 12px 16px;
- text-decoration: none;
- display: block;
- }
- .dropdown-content a:hover {background-color: #ddd}
- .show {display:block;}
- /* Slider */
- .slider {
- margin: 0 auto;
- height: 560px;
- overflow: hidden;
- border: 10px solid #f6f6f6;
- }
- .slides {
- display: block;
- list-style-type: none;
- width: 6000px;
- height: 560px;
- margin: 0;
- padding: 0;
- }
- .slide {
- float: left;
- }
- .dropbtn {
- background-color: #3498DB;
- color: white;
- padding: 16px;
- font-size: 16px;
- border: none;
- cursor: pointer;
- }
- .dropbtn:hover, .dropbtn:focus {
- background-color: #2980B9;
- }
- /* Footer */
- footer {
- margin: 0 auto;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-wrap: wrap;
- padding: 2rem 0;
- margin-top: 1rem;
- padding-left: 10px;
- padding-right: 10px;
- }
- .copyright {
- font-family: 'Open Sans', sans-serif;
- color: #666;
- font-size: .9rem;
- letter-spacing: .5px;
- }
- .social-media {
- font-size: 1.8rem;
- }
- .social-media > i {
- margin: 0;
- padding: 0;
- }
- .social-media a {
- text-decoration: none;
- }
- @media (min-width: 971px) {
- .masthead {
- width: 980px;
- }
- .slider {
- width: 980px;
- }
- footer {
- width: 980px;
- }
- }
- @media (max-width: 360px) {
- /* Header */
- .brand {font-size: 1.5rem;}
- nav {display: none;}
- .masthead {width: 100%;}
- .menu-icon {
- display: block;
- font-size: 24px;
- }
- /* Slider */
- .slider {width: 100%;}
- /* Footer */
- .footer {
- width: 100%;
- flex-direction: column;
- justify-content: center;
- }
- .social-media {padding-top: 20px;}
- }
- @media (min-width: 361px) and (max-width: 970px) {
- /* Header */
- .menu-normal {
- display: none;
- }
- nav > ul > a > li{
- display: list-item;
- margin-right: 0;
- }
- .menu-responsive {
- display: block;
- position: absolute;
- background-color: #f6f6f6;
- width: 100%;
- top: 145px;
- }
- .masthead {width: 100%;}
- .brand {font-size: 2rem;}
- .menu-icon {display: block;}
- .menu-icon:hover {cursor: pointer;}
- /* Slider */
- .slider {width: 100%;}
- /* Footer */
- footer {
- width: 100%;
- flex-direction: column;
- justify-content: center;
- }
- .social-media {padding-top: 20px;}
- }
- /* FILE: about.html */
- .about-bg {
- max-width: 980px;
- border: 10px solid #f6f6f6;
- margin: 0 auto;
- min-height: 560px;
- max-height: 560px;
- background: url('images/about-bg.jpg') no-repeat center center;
- }
- .background {
- max-width: 500px;
- text-align: justify;
- padding: 2rem;
- margin-left: 3rem;
- margin-top: 3rem;
- background: url('images/body-background.png') repeat center center;
- font-family: 'Open Sans', sans-serif;
- line-height: 1.35;
- font-size: .9rem;
- color: #444;
- padding-top: 1rem;
- }
- /* FILE: gallery.html */
- .container {
- max-width: 980px;
- margin: 0 auto;
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- font-family: 'Open Sans', sans-serif;
- }
- .intro {
- width: 450px;
- margin-right: 30px;
- color: #555;
- }
- .intro p {
- font-size: .9rem;
- line-height: 1.5;
- }
- .about-image {
- width: 100%;
- height: 300px;
- background: url('images/about-background.jpg') no-repeat center center;
- margin-top: 25px;
- border: 10px solid #f6f6f6;
- }
- .projects {
- width: 500px;
- margin-top: 20px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-wrap: wrap;
- padding: 0 20px;
- }
- .project-block {
- width: 130px;
- height: 130px;
- border: 2px solid #f6f6f6;
- margin: 10px;
- }
- #jpg1 {background: url('images/img1.jpg') no-repeat center center;}
- #jpg2 {background: url('images/img2.jpg') no-repeat center center;}
- #jpg3 {background: url('images/img3.jpg') no-repeat center center;}
- #jpg4 {background: url('images/img4.jpg') no-repeat center center;}
- #jpg5 {background: url('images/img5.jpg') no-repeat center center;}
- #jpg6 {background: url('images/img6.jpg') no-repeat center center;}
- #jpg7 {background: url('images/img7.jpg') no-repeat center center;}
- #jpg8 {background: url('images/img8.jpg') no-repeat center center;}
- #jpg9 {background: url('images/img9.jpg') no-repeat center center;}
- /* FILE: contact.html */
- .contact-image {
- width: 370px;
- height: 375px;
- border: 10px solid #f6f6f6;
- background: url('images/post.png') no-repeat center center;
- }
- .contact {
- width: 610px;
- height: 375px;
- padding: 0 30px;
- }
- .contact h2 {
- margin: 0;
- line-height: normal;
- color: #555;
- }
- .contact p {
- color: #555;
- font-size: .8rem;
- line-height: 1.5;
- }
- .form-container {
- width: 100%;
- display: flex;
- flex-direction: column;
- margin-top: 20px;
- }
- .form-container input {
- margin: 0;
- border: 1px solid rgba(160,160,159,1);
- padding: 5px;
- margin-bottom: 5px;
- letter-spacing: .5px;
- font-size: .8rem;
- }
- .txt-ar {
- resize: none;
- font-family: 'Open Sans', sans-serif;
- padding: 5px;
- color: #555;
- width: 100%;
- font-size: .8rem;
- min-height: 130px;
- }
- .btn {
- font-family: 'Open Sans', sans-serif;
- border: 1px solid #555;
- color: #fefefe;
- float: right;
- background-color: #605E5E;
- padding: 3px 5px;
- margin-top: 5px;
- letter-spacing: 1px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement