Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $main_font_family: "PT Sans", sans-serif;
- $main_font_hover_color: white;
- $main_bg_color: rgba(231,207,171, 0.3);
- $main_font_color: #2F2F2F;
- $main_border_radius: 5px;
- @mixin box-shadow($shadow)
- {
- -webkit-box-shadow: #{$shadow};
- -moz-box-shadow: #{$shadow};
- -o-box-shadow: #{$shadow};
- box-shadow: #{$shadow};
- }
- @mixin transition($params)
- {
- transition: #{$params};
- -webkit-transition: #{$params};
- -moz-transition: #{$params};
- -o-transition: #{$params};
- }
- @charset "utf-8";
- @import url('https://fonts.googleapis.com/css?family=PT+Sans');
- * {
- margin: 0;
- padding: 0;
- outline: none;
- }
- html{height: 100%}
- body{
- width: 100%;
- height: 100%;
- background-image: url(../images/background/retina_wood/retina_wood.png);
- background-repeat: repeat;
- font-family: $main_font_family;
- color: #333333;
- font-size: 1.1em;
- }
- img{
- max-width: 100%;
- max-height: auto;
- width: auto\9; /* ie8 */
- }
- a {
- text-decoration: none;
- color: $main_font_color;
- @include transition('all.4s ease');
- }
- .clear{
- clear: both;
- }
- /* Header */
- header {
- .right_sidebar_top{
- float: right;
- margin-top: 2%;
- margin-right: 1%;
- }
- a{
- padding-left: 10px;
- padding-right: 10px;
- font-size: 1.1em;
- &:hover{
- color: #ffffff;
- }
- }
- .logo{
- margin-left: 2%;
- margin-top: 1%;
- #logo_text_big{
- font-size: 2.8em;
- float: left;
- margin-top: 25px;
- margin-left: 1%;
- font-family: 'Lucida Fax', Arial, sans-serif;
- color: black;
- }
- #logo_text_small{
- float: left;
- font-family: 'MV Boli', Arial, sans-serif;
- margin-top: 2.8%;
- margin-left: 0.6%;
- &:hover{
- color: #BFA184;
- }
- }
- .logo_image{
- float: left;
- width: auto;
- height: 100px;
- }
- }
- .center_sidebar_top{
- text-align: center;
- margin-top: 10%;
- margin-bottom: 50px;
- a{
- padding-left: 10px;
- padding-right: 70px;
- font-size: 1.2em;
- &:hover{
- color: #ffffff;
- }
- &:focus{
- color: #ffffff;
- }
- }
- }
- }
- /* Animations */
- .hidden{
- opacity:0;
- }
- .visible{
- opacity:1;
- }
- /* Content */
- content{
- float: left;
- margin-left: 15%;
- margin-top: 30px;
- margin-bottom: 200px;
- width: 70%;
- background-color: rgba(255, 255, 255, 0.5);
- border-radius: 10px;
- #line_slider{
- width: 40%;
- height: 0.1px;
- color: #afafaf;
- margin-left: 30%;
- margin-top: 500px;
- }
- }
- /* Slider */
- #back_to_camera {
- clear: both;
- display: block;
- height: 80px;
- line-height: 40px;
- padding: 20px;
- }
- .fluid_container {
- margin-top: 2%;
- margin-left: auto;
- margin-right: auto;
- padding-bottom: 400px;
- width: 95%;
- font-family: "Segoe UI", Arial, sans-serif;
- #camera_wrap_1 div a{
- color: #ffffff;
- &:hover{
- color: #BFA184;
- }
- }
- }
- .camera_pag_ul{
- margin-bottom: -20%;
- }
- /* Articles */
- content {
- #articles {
- margin-top: 200px;
- margin-left: 5%;
- .article{
- border-radius: $main_border_radius*2;
- margin-bottom: 7%;
- margin-top: -50px;
- float: left;
- width: 40%;
- margin-right: 5%;
- background: rgba(231,207,171, 0.1);
- padding-left: 2%;
- padding-right: 2%;
- .article_name{
- float: left;
- text-align: center;
- font-size: 1.5em;
- color: #333333;
- margin-top: 40px;
- margin-bottom: 20px;
- margin-left: 40%;
- &:hover{
- color: #BFA184;
- }
- }
- &:hover{
- @include box-shadow('inset 0px 0px 35px -8px rgba(0,0,0,0.75)');
- @include transition('all 1s ease');
- background: $main_bg_color;
- color: $main_font_color;
- }
- .article_image{
- object-fit: cover;
- width: 100%;
- height: 350px;
- border-radius: 5px;
- margin-bottom: 20px;
- }
- .article_meta_data{
- .article_author{
- float: left;
- color: #a5a5a5;
- margin-top: 5px;
- &:hover{
- color: #BFA184;
- cursor: pointer;
- }
- }
- .article_date{
- float: right;
- color: #a5a5a5;
- margin-top: 5px;
- }
- }
- hr{
- border: none;
- height: 1px;
- width: 50%;
- margin-left: 25%;
- margin-top: 40px;
- color: #afafaf;
- background-color: #afafaf;
- text-align: center;
- }
- .article_preview{
- float: left;
- margin-top: 40px;
- margin-left: 5%;
- }
- .article_next{
- float: left;
- font-size: 1.1em;
- margin-top: 40px;
- font-weight: bold;
- color: #333333;
- margin-bottom: 40px;
- margin-left: 5%;
- &:hover{
- color: #BFA184;
- }
- }
- }
- }
- }
- /* paginator */
- content {
- .paginator{
- float: left;
- margin-left: 20%;
- margin-bottom: 7%;
- width: 50%;
- .page_number_notActive{
- font-size: 1.5em;
- height: 20%;
- border-radius: $main_border_radius;
- margin-left: 3%;
- padding-left: 2%;
- padding-right: 2%;
- background-color: #BFA184;
- &:hover{
- background-color: rgba(255, 255, 255, 0.1);
- color: #BFA184;
- }
- }
- .page_number_active{
- font-size: 1.5em;
- height: 20%;
- border-radius: $main_font_color;
- margin-left: 3%;
- padding-left: 2%;
- padding-right: 2%;
- background-color: rgba(255, 255, 255, 0.1);
- }
- }
- }
- /* footer */
- footer{
- margin-bottom: 50px;
- .right_sidebar_bottom{
- float: right;
- margin-top: 3%;
- margin-right: 3%;
- a{
- padding-left: 10px;
- padding-right: 10px;
- font-size: 1.1em;
- &:hover{
- color: $main_font_hover_color;
- }
- }
- }
- .license_information{
- float: left;
- margin-left: 3%;
- margin-top: 3%;
- font-size: 1.1em;
- }
- }
- /* feedback */
- content {
- .error_show{
- margin-top: 10px;
- text-align: center;
- color: red;
- }
- form {
- input {
- width: 40%;
- margin-left: 30%;
- float: left;
- border-radius: $main_border_radius;
- border: 2px solid silver;
- padding: 5px;
- color: #E5C19E;
- margin-bottom: 20px;
- font-size: 1.2em;
- background-color: #F0F0F0;
- #send_message {
- margin-top: 3%;
- color: #BFA184;
- margin-bottom: 3%;
- &:hover{
- border: 2px solid #f8d881;
- cursor: pointer;
- }
- }
- &:focus{
- border: 2px solid #E5C19E;
- background-color: #ffffff;
- }
- &:hover{
- @extend input:focus;
- }
- }
- textarea{
- width: 50%;
- height: 200px;
- margin-left: 25%;
- float: left;
- border-radius: $main_border_radius;
- border: 2px solid silver;
- padding: 5px;
- color: #E5C19E;
- margin-bottom: 10px;
- font-size: 1.2em;
- resize: none; /* Способ убрать изменитель масштаба textarea */
- background-color: #F0F0F0;
- &:hover{
- @extend input:hover;
- }
- &:focus{
- @extend textarea:hover;
- }
- }
- h2{
- text-align: center;
- color: #333333;
- padding-bottom: 20px;
- margin-top: 10px;
- }
- }
- #feedback_information{
- float: left;
- background-color: #E5C19E;
- font-size: 1.2em;
- width: 100%;
- font-weight: bold;
- }
- }
- /* about us */
- content {
- #about_us {
- width: auto;
- height: 250px;
- h1{
- text-align: center;
- margin-top: 2%;
- }
- #parag_1{
- margin-left: 3%;
- margin-right: 2%;
- margin-bottom: 2%;
- margin-top: 1%;
- }
- #partners{
- margin-left: 3%;
- margin-right: 2%;
- margin-bottom: 2%;
- margin-top: 1%;
- font-weight: bold;
- font-size: 1.2em;
- width: 590px;
- height: 20px;
- a:hover{
- color: #BFA184;
- font-family: 'MV Boli', Arial, sans-serif;
- }
- }
- }
- }
- /* articles_categories */
- #articles_alert{
- color: red;
- font-size: 1.4em;
- text-align: center;
- margin-top: -20%;
- }
- /* article_content */
- content {
- .article_content {
- float: left;
- margin-left: 10%;
- margin-right: 5%;
- margin-bottom: 200px;
- width: 80%;
- border-radius: $main_border_radius*2;
- h1{
- text-align: center;
- margin-top: 50px;
- margin-bottom:50px;
- }
- .info_container{
- float: right;
- margin-top: 50px;
- font-size: 1.2em;
- span{
- padding: 10px;
- }
- li{
- list-style-type: none;
- margin-bottom: 30px;
- }
- }
- .article_content_image{
- object-fit: cover;
- width: 100%;
- height: 100%;
- border-radius: $main_border_radius;
- cursor: zoom-in;
- }
- p{
- margin: 20px;
- font-size: 1.2em;
- }
- .block{
- border-radius: $main_border_radius*2;
- margin-bottom: 10%;
- float: left;
- @include box-shadow('0px 0px 35px -8px rgba(0,0,0,0.75)');
- @include transition('all 1s ease');
- background: rgba(231,207,171, 0.3);
- color: black;
- }
- }
- }
- /* Image zoom */
- /* картинка на странице */
- .minimized {
- width: 300px;
- cursor: pointer;
- }
- /* увеличенная картинка */
- #magnify {
- display: none;
- /* position: absolute; upd: 24.10.2016 */
- position: fixed;
- max-width: 1300px;
- height: auto;
- z-index: 9999;
- }
- #magnify img {
- width: 100%;
- }
- /* затемняющий фон */
- #overlay {
- display: none;
- background: #000;
- position: fixed;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- opacity: 0.5;
- z-index: 9990;
- }
- /* кнопка закрытия */
- #close-popup {
- width: 30px;
- height: 30px;
- background: #FFFFFF;
- border: 1px solid #AFAFAF;
- border-radius: $main_border_radius*3;
- cursor: pointer;
- position: absolute;
- top: 15px;
- right: 15px;
- i{
- width: 30px;
- height: 30px;
- background: url(https://codernote.ru/files/cross.png) no-repeat center center;
- background-size: 16px 16px;
- display: block;
- }
- &:hover{
- animation: rota 4s infinite normal;
- -webkit-animation-iteration-count: 1;
- animation-iteration-count: 1;
- }
- }
- @keyframes rota {
- 25% { transform: rotate(360deg); }
- }
- /* Similar articles */
- content .similar_articles{
- float: left;
- h1{
- text-align: center;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement