Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Theme Name: Maki-Nails
- Theme URI: http: //maki-nails.ru/
- Description: Theme for Maki-Nails salon
- Author: Grawl
- Author URI: http: //grawl.ru
- Template: twentyeleven
- Version: 0.1.0
- */
- @import url("../twentyeleven/style.css");
- @import 'elements';
- /* @group mixins */
- .menu-red {
- color: white !important;
- background: #CC0F16; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#EE1920, #C50E14);
- background: -o-linear-gradient(#EE1920, #C50E14);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EE1920), to(#C50E14)); /* Older webkit syntax */
- background: -webkit-linear-gradient(#EE1920, #C50E14);
- }
- .menu-white {
- color: black;
- background: #f9f9f9; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
- background: -o-linear-gradient(#f9f9f9, #e5e5e5);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
- background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
- }
- .menu-black {
- color: white;
- background: #222; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#252525, #0a0a0a);
- background: -o-linear-gradient(#252525, #0a0a0a);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
- background: -webkit-linear-gradient(#252525, #0a0a0a);
- }
- .gradient-white-flash {
- /* IE9 SVG, needs conditional override of 'filter' to 'none' */
- background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
- background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* IE10+ */
- background: linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-8 */
- }
- .gradient-nofitication {
- background: #e67081; /* Old browsers */
- /* IE9 SVG, needs conditional override of 'filter' to 'none' */
- background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNlNjcwODEiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNjMzAwMWUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
- background: -moz-linear-gradient(top, #e67081 50%, #c3001e 50%); /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#e67081), color-stop(50%,#c3001e)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #e67081 50%,#c3001e 50%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #e67081 50%,#c3001e 50%); /* Opera 11.10+ */
- background: -ms-linear-gradient(top, #e67081 50%,#c3001e 50%); /* IE10+ */
- background: linear-gradient(top, #e67081 50%,#c3001e 50%); /* W3C */
- filter: ~'progid:DXImageTransform.Microsoft.gradient( startColorstr="#e67081", endColorstr="#c3001e",GradientType=0 )'; /* IE6-8 */
- }
- @animation-name: pulse;
- .animation-keyframes {
- 0% { opacity: 1 }
- 50% { opacity: 0 }
- 100% { opacity: 1 }
- }
- @-webkit-keyframes pulse { .animation-keyframes; }
- @-moz-keyframes pulse { .animation-keyframes; }
- @-ms-keyframes pulse { .animation-keyframes; }
- @-o-keyframes pulse { .animation-keyframes; }
- @keyframes pulse { .animation-keyframes; }
- .animation-make {
- -webkit-animation: @animation-name 1s infinite;
- -moz-animation: @animation-name 1s infinite;
- -ms-animation: @animation-name 1s infinite;
- animation: @animation-name 1s infinite;
- }
- /* @end */
- /* @group fonts */
- @font-face {
- font-family: 'Thin';
- src: url('library/fonts/HelveticaNeue-Thin.ttf');
- font-weight: 300;
- }
- @thin: 'Helvetica Neue Light', 'Helvetica Light', 'Segoe UI', 'Thin', Arial, sans-serif;
- @font-face {
- font-family: 'Ultra';
- src: url('library/fonts/HelveticaNeue-UltraLight.ttf');
- font-weight: 200;
- }
- @ultra: 'Helvetica Neue UltraLight', 'Helvetica Light', 'Segoe UI Light', 'Ultra', Arial, sans-serif !important;
- /* @end */
- body {
- background:
- url('images/bg-maki-gray-left-corner.png') top left no-repeat,
- url('images/bg-maki-gray-right-corner.png') top right no-repeat,
- url('images/bg-maki-gray-left-bottom-corner.png') bottom left no-repeat,
- url('images/bg-maki-gray-right-bottom-corner.png') bottom right no-repeat
- #e2e2e2;
- min-width: 320px;
- overflow-x: hidden;
- font-family: 1em @thin !important;
- }
- header#branding {
- background: url('images/bg-maki-red.png') top right no-repeat;
- display: inline-block;
- width: 100%;
- padding-bottom: 0;
- margin-bottom: -6px;
- z-index: 500;
- }
- #logo {
- background: url('images/logo.png');
- width: 270px;
- height: 177px;
- margin: 10px 0 20px 30px;
- float: left;
- a {
- width: 270px;
- height: 159px;
- display: block;
- }
- }
- #title {
- float: right;
- margin: 90px 130px 0 0;
- position: relative;
- h1 {
- font-family: @ultra;
- font-size: 3em;
- font-weight: 100;
- text-transform: lowercase;
- line-height: 1em;
- }
- .quotescollection_randomquote {
- text-align: right;
- p {
- margin: 0;
- q {
- position: relative;
- left: 1em;
- font-style: italic;
- color: #d9232b;
- }
- cite {
- position: relative;
- right: 2em;
- color: gray;
- line-height: 1em;
- }
- }
- }
- }
- #actions {
- position: absolute;
- top: -13px;
- right: -12px;
- width: 148px;
- height: 146px;
- }
- #actions a {
- width: 100%;
- height: 100%;
- display: block;
- background: url('images/actions.png');
- position: relative;
- z-index: 3;
- }
- #lastest-action {
- @size: 60px;
- position: absolute;
- right: 23px;
- bottom: -5px;
- width: @size;
- height: @size;
- background: white;
- font-weight: bold;
- color: white;
- text-align: center;
- z-index: 2;
- // @animation-name: pulse;
- // .animation-make;
- .rounded(50%);
- .box-shadow(0 0 10px rgba(0,0,0,.5));
- ::before {
- content: attr(data-time);
- display: block;
- position: absolute;
- height: 37px;
- width: 50px;
- padding: 13px 0 0;
- margin: 5px;
- .gradient-nofitication;
- z-index: 1;
- .rounded(50%);
- // .animation-make;
- }
- }
- #main {
- position: relative;
- display: inline-block;
- margin: -6px 0;
- padding: 0;
- width: 100%;
- background: url('images/bg-maki-pink-left.png') top left no-repeat;
- z-index: 1;
- }
- #primary {
- padding: 1.625em 0 0;
- background: url('images/bg-maki-pink-right.png') 100% 50px no-repeat;
- min-height: 400px;
- &:before,
- &:after {
- content: '';
- display: block;
- position: absolute;
- }
- &:before {
- width: 53px;
- height: 356px;
- background: url('images/bg-maki-gray-left-outside.png');
- top: 54px;
- left: -53px;
- }
- &:after {
- width: 92px;
- height: 399px;
- background: url('images/bg-maki-gray-right-outside.png');
- top: 48px;
- right: -92px;
- }
- }
- #secondary {
- margin: 7.2em 7.6% 0 0;
- }
- .widget ul li {
- padding: 0 0 1px;
- }
- .widget a {
- line-height: 23px;
- color: black;
- }
- .post-thumbnail,
- .wp-post-image,
- img[class*="align"],
- img[class*="wp-image-"],
- #content .gallery .gallery-icon img {
- border: 2px solid #DDD;
- padding: 0;
- display: inline-block;
- position: relative;
- top: -10px;
- line-height: 0.1;
- }
- .wp-caption.alignleft {
- margin-right: 0.618em;
- }
- #access {
- .menu-red;
- .box-shadow(rgba(0, 0, 0, 0.4) 0px 1px 2px inset);
- font-weight: 400;
- li:hover > a, a:focus {
- .menu-white;
- .box-shadow(rgba(0, 0, 0, 0.4) 0px 1px 2px inset);
- }
- ul ul a {
- border: 0;
- }
- .sub-menu {
- .box-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
- li:hover {
- .gradient-white-flash;
- > a {
- // background: url('images/bg-maki-red.png') top right no-repeat;
- box-shadow: none;
- }
- }
- }
- }
- li[class*="current"] > a {
- font-weight: bold;
- color: red;
- position: relative;
- &:before {
- @size: 5px;
- content: '';
- display: block;
- position: absolute;
- bottom: -2px;
- left: 45%;
- border-left: @size solid transparent;
- border-right: @size solid transparent;
- border-bottom: @size solid white;
- }
- }
- .singular.page .hentry {
- padding: 0;
- }
- .singular .entry-meta .edit-link a {
- top: 30px;
- }
- .entry-content img {
- max-width: 100%;
- }
- .iPad {
- width: 416px;
- height: 317px;
- background: url('images/iPad.png');
- padding: 37px 0 0 43px;
- margin: 0 0 20px;
- }
- .nivo-directionNav a {
- background: transparent !important;
- }
- a.nivo-nextNav {
- right: -35px !important;
- }
- a.nivo-prevNav {
- left: -35px !important;
- }
- #supplementary {
- color: #b0b1b0;
- background: #f9f9f9;
- position: relative;
- z-index: 2;
- a {
- color: #b0b1b0;
- font-weight: normal;
- border-bottom: 1px solid hsl(120, 1%, 89%);
- &:hover {
- text-decoration: none;
- border-bottom: 1px solid hsl(120, 1%, 81%);
- }
- }
- p {
- margin-bottom: .2em;
- }
- .widget {
- margin: 0;
- }
- #third.widget-area {
- text-align: right;
- }
- }
- .dataTables_wrapper {
- min-height: 0 !important;
- }
- .wp-table-reloaded-table-name {
- font-size: 1.4em;
- line-height: 2em;
- margin: 0 !important;
- }
- .wp-table-reloaded-table-description {
- padding: 0 0 10px;
- }
- .wp-table-reloaded tr {
- position: relative;
- }
- .wp-table-reloaded tr:hover td.column-1::before {
- content: '';
- position: absolute;
- left: -15px;
- width: 0;
- height: 0;
- border-top: 10px solid transparent;
- border-bottom: 10px solid transparent;
- border-left: 10px solid #E6E6E6;
- }
- .wp-table-reloaded tr:hover td.column-2::after {
- content: '';
- position: absolute;
- right: -15px;
- width: 0;
- height: 0;
- border-top: 10px solid transparent;
- border-bottom: 10px solid transparent;
- border-right: 10px solid #E6E6E6;
- }
- .wp-table-reloaded tr:hover td {
- background-color: #e2e2e2;
- }
- .post-thumbnail,
- .wp-post-image,
- img[class*="align"],
- img[class*="wp-image-"],
- #content .gallery .gallery-icon img {
- top: 0;
- }
- .comment-form-url {
- display: none;
- }
- .entry-meta {
- .transition(opacity, 0.3s);
- opacity: 0.5;
- }
- .entry-meta:hover {
- .transition(opacity, 0.3s);
- opacity: 1;
- }
- .entry-meta a {
- font-weight: normal;
- color: #666;
- }
- #php_widget-3 {
- display: none;
- }
- /* @group fotorama */
- .fotorama__thumbs {
- top: -17px;
- z-index: 5;
- }
- .fotorama__thumb__dot {
- background-color: white;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
- filter: ~'progid:DXImageTransform.Microsoft.Alpha(Opacity=20)';
- opacity: 0.2;
- }
- .b-slide {
- position: absolute !important;
- bottom: 0;
- right: 0;
- padding-bottom: 17px;
- background: rgba(0, 0, 0, .7);
- width: 100%;
- text-align: center;
- a {
- color: white;
- text-decoration: underline;
- }
- }
- /* @end */
- @media (min-width: 320px) and (max-width: 480px) { // iPhone
- body {
- background-image: none;
- }
- header#branding, #primary::before, #primary::after {
- background: transparent;
- }
- #logo {
- margin: 5px 10px;
- }
- #actions {
- top: -18px;
- }
- #title {
- margin: -30px 30px 10px 10px;
- h1 {
- font-size: 2em;
- font-family: @thin;
- }
- }
- .iPad {
- display: none; // не. надо показывать, но без рамки
- }
- #page {
- min-width: 350px;
- overflow: hidden;
- }
- #primary {
- background: transparent;
- }
- aside {
- padding: 0;
- }
- }
- @media (min-device-width: 768px) and (max-device-width: 1024px) { //iPad
- html {
- width: 1000px;
- }
- body {
- padding: 0 30px;
- width: 940px;
- }
- #page {
- padding-right: 0;
- padding-left: 0;
- }
- #primary {
- ::before, ::after {
- display: none;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment