Skip to content

Instantly share code, notes, and snippets.

@safrankov
Created June 29, 2017 13:10
Show Gist options
  • Select an option

  • Save safrankov/c8997d45e471cc76a33673c9cd172e3f to your computer and use it in GitHub Desktop.

Select an option

Save safrankov/c8997d45e471cc76a33673c9cd172e3f to your computer and use it in GitHub Desktop.
.grid,.unit {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.grid {
display: block;
clear: both
}
.grid .unit {
float: left;
width: 100%;
padding: 10px
}
.grid .unit:first-child {
padding-left: 20px
}
.grid .unit:last-child {
padding-right: 20px
}
.unit .unit:first-child {
padding-left: 0
}
.unit .unit:last-child {
padding-right: 0
}
.unit .grid:first-child>.unit {
padding-top: 0
}
.unit .grid:last-child>.unit {
padding-bottom: 0
}
.no-gutters .unit,.unit.no-gutters {
padding: 0!important
}
.wrap .grid,.grid.wrap {
max-width: 978px;
margin: 0 auto
}
.grid .whole,.grid .w-1-1 {
width: 100%
}
.grid .half,.grid .w-1-2 {
width: 50%
}
.grid .one-third,.grid .w-1-3 {
width: 33.3332%
}
.grid .two-thirds,.grid .w-2-3 {
width: 66.6665%
}
.grid .one-quarter,.grid .w-1-4 {
width: 25%
}
.grid .three-quarters,.grid .w-3-4 {
width: 75%
}
.grid .one-fifth,.grid .w-1-5 {
width: 20%
}
.grid .two-fifths,.grid .w-2-5 {
width: 40%
}
.grid .three-fifths,.grid .w-3-5 {
width: 60%
}
.grid .four-fifths,.grid .w-4-5 {
width: 80%
}
.grid .golden-small,.grid .w-g-s {
width: 38.2716%
}
.grid .golden-large,.grid .w-g-l {
width: 61.7283%
}
.grid {
*zoom:1}
.grid:before,.grid:after {
display: table;
content: "";
line-height: 0
}
.grid:after {
clear: both
}
.align-center {
text-align: center
}
.align-left {
text-align: left
}
.align-right {
text-align: right
}
.pull-left {
float: left
}
.pull-right {
float: right
}
@media screen and (max-width: 568px) {
.grid .unit {
width:100%!important;
padding-left: 20px;
padding-right: 20px
}
.unit .grid .unit {
padding-left: 0;
padding-right: 0
}
.center-on-mobiles {
text-align: center!important
}
.hide-on-mobiles {
display: none!important
}
}
@media screen and (min-width: 1180px) {
.wider .grid {
max-width:1180px;
margin: 0 auto
}
}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary {
display: block
}
audio,canvas,video {
display: inline-block;
*display: inline;
*zoom:1}
audio:not([controls]) {
display: none;
height: 0
}
[hidden] {
display: none
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
html,button,input,select,textarea {
font-family: sans-serif
}
body {
margin: 0
}
a:focus {
outline: thin dotted
}
a:active,a:hover {
outline: 0
}
h1 {
margin: .67em 0
}
h2 {
margin: .83em 0
}
h3 {
margin: 1em 0
}
h4 {
font-size: 1em;
margin: 1.33em 0
}
h5 {
font-size: .83em;
margin: 1.67em 0
}
h6 {
font-size: .75em;
margin: 2.33em 0
}
abbr[title] {
border-bottom: 1px dotted
}
b,strong {
font-weight: 700
}
blockquote {
margin: 1em 40px
}
dfn {
font-style: italic
}
mark {
background: #ff0;
color: #000
}
p,pre {
margin: 1em 0
}
code,kbd,pre,samp {
font-family: monospace,serif;
_font-family: 'courier new',monospace;
font-size: 1em
}
pre {
white-space: pre-wrap;
word-wrap: break-word
}
q {
quotes: none
}
q:before,q:after {
content: '';
content: none
}
small,sub,sup {
font-size: 75%
}
sub,sup {
line-height: 0;
position: relative;
vertical-align: baseline
}
sup {
top: -.5em
}
sub {
bottom: -.25em
}
dl,menu,ol,ul {
margin: 1em 0
}
dd {
margin: 0 0 0 40px
}
menu,ol,ul {
padding: 0 0 0 40px
}
nav ul,nav ol {
list-style: none;
list-style-image: none
}
img {
border: 0;
-ms-interpolation-mode: bicubic
}
svg:not(:root) {
overflow: hidden
}
figure,form {
margin: 0
}
fieldset {
border: 1px solid silver;
margin: 0 2px;
padding: .35em .625em .75em
}
legend {
border: 0;
padding: 0;
white-space: normal;
*margin-left: -7px
}
button,input,select {
vertical-align: baseline
}
button,input,select,textarea {
font-size: 100%;
margin: 0;
*vertical-align: middle
}
button,input {
line-height: normal
}
button,html input[type="button"],input[type="reset"],input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
*overflow: visible
}
button[disabled],input[disabled] {
cursor: default
}
input[type="checkbox"],input[type="radio"] {
box-sizing: border-box;
padding: 0;
*height: 13px;
*width: 13px
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box
}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none
}
button::-moz-focus-inner,input::-moz-focus-inner {
border: 0;
padding: 0
}
textarea {
overflow: auto;
vertical-align: top
}
table {
border-collapse: collapse;
border-spacing: 0
}
body {
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
color: #222;
background: #e9e9e9
}
body>header,body>section,body>footer {
display: block;
width: 100%;
clear: both;
float: left
}
h1,h2,h3 {
display: inline-block;
text-align: center;
font-family: "Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: -.05em;
color: #222;
text-transform: uppercase
}
h1,h2 {
font-size: 2em
}
h3 {
font-size: .5em
}
a {
color: #c00;
text-decoration: none;
border-bottom: 1px solid #eee;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
transition: all .2s ease-in-out
}
.grid,.unit {
-webkit-transition: all .25s ease-in-out;
-moz-transition: all .25s ease-in-out;
transition: all .25s ease-in-out
}
.main-header {
background: #292929;
height: 70px;
color: #fff;
z-index: 1
}
.main-header,.header-content,.logo {
position: relative
}
.logo {
top: 5px;
display: inline-block;
width: 230px;
height: 19px;
background: url("../img/logo.png?") center no-repeat;
border: none;
margin: 0 0 0 20px;
padding: 20px 0
}
.menu-starter {
display: none;
position: absolute;
top: 20px;
right: 10px;
width: 30px;
height: 30px;
background: url("../img/menu-starter-bg.png") 0 0 no-repeat
}
.menu-starter-close {
background: url("../img/menu-starter-bg.png") -30px 0 no-repeat
}
.menu {
position: absolute;
top: 24px;
right: 0;
margin: 0;
padding: 0
}
.menu__item {
position: relative;
display: inline-block;
color: #fff;
font-size: .7em;
text-transform: uppercase;
margin: 0 20px 0 0
}
.menu__item:after {
position: absolute;
top: -4px;
right: -14px;
content: '.';
color: #fff
}
.menu__item:last-child:after {
content: ''
}
.menu__item-link {
display: inline-block;
color: #fff;
border: none
}
.menu__item-link:hover {
color: #f2333a
}
.title {
width: 100%;
display: inline-block;
margin: 40px 0 20px;
font-size: 2em;
text-align: center;
font-family: "Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif;
font-weight: 700;
letter-spacing: -.05em;
color: #222;
text-transform: uppercase
}
.title-red {
color: #f2333a
}
.separator {
position: relative;
width: 100%;
display: inline-block;
text-align: center;
margin-bottom: 10px
}
.separator:after {
position: absolute;
content: '';
width: 30px;
height: 1px;
background: #000;
margin: 0 0 0 -15px
}
.server-list .grid .unit:first-child {
padding-left: 10px
}
.server-list .grid .unit:last-child {
padding-right: 10px
}
.server-list__item {
background-color: #fff;
-moz-box-shadow: 0 0 4px rgba(0,0,0,.06);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.06);
box-shadow: 0 0 4px rgba(0,0,0,.06);
cursor: pointer;
text-align: center
}
.server-image {
width: 100%;
max-width: 160px;
height: auto;
margin: 10px 0 0;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 9px 6px -6px #777;
-moz-box-shadow: 0 9px 6px -6px #777;
box-shadow: 0 9px 6px -6px #777
}
.server-image,.server-name {
display: inline-block;
position: relative;
clear: both
}
.server-name {
width: 80%;
color: #444;
font-weight: 700;
margin: 0;
padding: 10px 0 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden
}
.server-online {
color: #c6c6c6;
font-size: .7em;
margin: 0
}
.server-online,.server-ip {
display: block;
text-transform: uppercase;
clear: both;
}
.server-ip {
font-weight: 700;
color: #444;
margin: 10px 0 0;
padding: 0 0 15px;
width: 100%;
position: relative;
box-sizing: border-box
}
.control-text {
padding: 0 0 50px
}
.input-wrapper {
position: relative;
display: inline
}
input[type="text"],input[type="email"],input[type="password"] {
position: relative;
width: 60%;
border: 1px solid #000;
background-color: #fff;
box-sizing: border-box;
padding: 17px 15px;
height: 50px;
outline: none;
margin-bottom: 10px
}
input[type="text"][disabled],input[type="email"][disabled],input[type="password"][disabled],.disabled-input {
border: 1px solid #e6e6e6!important;
color: #e6e6e6
}
input[type="button"] {
border: 1px solid #e6e6e6!important
}
input[type="button"][disabled] {
background: #fff;
color: #e6e6e6
}
input[type="button"][disabled]:hover {
background: #fff
}
.input-search-icon {
position: absolute;
display: block;
content: '';
top: 0;
right: 10px;
width: 24px;
height: 24px;
background: url("../img/icon.png") no-repeat!important;
border: none;
outline: none
}
input[type="button"],input[type="submit"],.button {
background: #f13339;
box-sizing: border-box;
padding: 17px 15px;
height: 50px;
text-transform: uppercase;
color: #fff;
outline: none
}
input[type="submit"],.button {
border: none
}
input[type="button"]:hover,input[type="submit"]:hover,.button:hover {
background: #ff5350
}
input[type="button"]:active,input[type="submit"]:active,.button:active {
background: #d00023
}
.button {
position: relative;
display: inline-block
}
.button-w-icon {
padding-left: 55px
}
.torrent {
position: absolute;
top: 13px;
left: 17px;
display: inline-block;
width: 24px;
height: 24px;
background: url("../img/torrent.png") no-repeat
}
.yandex {
left: 10px;
width: 39px;
background: url("../img/yandex.png") no-repeat
}
.yandex,.world {
position: absolute;
top: 13px;
display: inline-block;
height: 24px
}
.world {
left: 17px;
width: 24px;
background: url("../img/world.png") no-repeat
}
.server-table-wrapper {
margin-top: 50px
}
.table-padding {
box-sizing: border-box;
padding: 15px;
background: #fff;
-moz-box-shadow: 0 0 4px rgba(0,0,0,.06);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.06);
box-shadow: 0 0 4px rgba(0,0,0,.06)
}
.server-table {
width: 100%;
color: #666
}
.server-table td {
padding: 10px 0;
text-align: center;
color: #666;
font-size: .85em
}
.server-table thead td {
background: #f6f6f6;
border-right: 1px solid #fff
}
.server-table thead td:last-child {
border-right: none
}
.server-table tbody td:first-child {
text-align: left;
padding: 0 10px
}
.server-table tbody tr:nth-child(2n) {
background: #f6f6f6
}
.server-table tr.active td {
color: #1bbbb3
}
.server-table-cabinet {
width: 100%;
font-size: .8em;
border-top: 1px solid #e6e6e6
}
.server-table-cabinet td {
text-align: left;
padding: 5px 0
}
.server-table-cabinet tr:first-child td {
padding-top: 20px
}
.sticker {
color: #fff;
background: #1bbbb3;
padding: 2px 3px;
float: right
}
.sticker-green,.status {
background: #8dca35
}
.status {
width: 14px;
height: 14px;
display: inline-block;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px
}
.status.red {
background: #ff702a
}
.pagination {
width: 100%;
margin: 50px 0;
padding: 0
}
.pagination,.pagination__item {
display: inline-block;
text-align: center;
clear: both
}
.pagination__item {
position: relative;
list-style: none;
color: #666;
border: 1px solid #666;
background: #fff;
overflow: hidden;
margin: 0 10px 10px 0
}
.pagination__item:last-child {
margin-right: 0
}
.pagination__item:hover {
border: 1px solid #f2333a
}
.pagination__item-active {
background: #f2333a;
border: 1px solid #f2333a
}
.pagination__item-link {
display: inline-block;
text-decoration: none;
padding: 10px 15px;
border: none;
color: #666;
text-align: center
}
.pagination__item:hover .pagination__item-link {
color: #f2333a
}
.pagination__item-active .pagination__item-link,.pagination__item-active:hover .pagination__item-link {
color: #fff
}
.pagination__item-more,.pagination__item-more:hover {
border: none
}
.separator-full {
display: block;
width: 100%;
height: 1px;
background: #e6e6e6
}
.footer {
margin: 50px 0 0;
background: #121212;
text-align: center;
color: #858383;
font-family: "Myriad Pro",Tahoma,Arial,sans-serif
}
.footer img {
max-width: 100%;
height: auto;
}
.footer-logo {
margin: 80px 0 30px;
display: inline-block;
width: 264px;
height: 28px;
background: url("../img/footer-logo.png") no-repeat;
border: none
}
.footer a {
color: #fff;
border: none
}
.footer a:hover {
color: #f2333a
}
.to-top {
width: 16px;
height: 16px;
background: url("../img/totop.png") no-repeat;
margin: 50px 0;
clear: both
}
.to-top,.copy {
display: inline-block
}
.copy {
width: 100%;
margin: 0 0 50px
}
.copy a {
color: #f2333a
}
.cabinet {
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif
}
.welcome {
width: 100%;
text-align: center;
font-weight: 700;
margin: 0 0 40px
}
.widget {
position: relative;
background: #fff;
-moz-box-shadow: 0 0 4px rgba(0,0,0,.06);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.06);
box-shadow: 0 0 4px rgba(0,0,0,.06);
margin-bottom: 20px
}
.widget-full,.server-widget {
box-sizing: border-box;
padding: 20px
}
.title-ip {
width: 100%;
display: inline-block;
font-weight: 700;
border-bottom: 1px solid #e6e6e6;
padding: 0 0 10px
}
.server-widget p {
color: #aaa;
font-size: .8em
}
.exit-icon {
display: inline-block;
position: absolute;
top: 10px;
right: 10px;
width: 18px;
height: 20px;
background: url("../img/exit-icon.png") 0 -28px no-repeat
}
.exit-icon:hover {
cursor: pointer;
background: url("../img/exit-icon.png") 0 0 no-repeat
}
.user-image {
position: relative;
width: 120px;
height: 120px;
left: 50%;
margin: 50px 0 50px -60px
}
.user-image-link,.balance {
border: none
}
.balance {
position: relative;
display: block;
width: 220px;
height: 29px;
background: url("../img/balance.png") 0 -99px no-repeat;
color: #000;
font-size: .9em;
margin: 0 0 10px -110px;
padding: 12px 0 0 20px;
clear: both;
left: 50%
}
.balance:hover:after {
display: inline-block;
vertical-align: middle;
padding: 12px 10px 0 0;
position: absolute;
text-align: center;
top: 0;
left: 0;
content: 'Пополнить';
background: #fff url("../img/balance.png") 0 -49px no-repeat;
width: 210px;
height: 29px;
text-transform: uppercase;
color: #f2333a
}
.balance:active:after {
display: inline-block;
vertical-align: middle;
padding: 12px 10px 0 0;
position: absolute;
text-align: center;
top: 0;
left: 0;
content: 'Пополнить';
background: #f2333a url("../img/balance.png") 0 -49px no-repeat;
width: 210px;
height: 29px;
text-transform: uppercase;
color: #fff
}
.money {
position: relative;
display: block;
width: 198px;
height: 29px;
color: #000;
left: 50%;
font-size: .9em;
margin: 0 0 0 -110px;
padding: 12px 0 0 20px;
border: 1px solid #e6e6e6
}
.money:hover:after {
display: inline-block;
vertical-align: middle;
padding: 12px 10px 0 0;
position: absolute;
text-align: center;
top: 0;
left: 0;
content: 'Перевести на баланс';
background: #fff;
width: 207px;
height: 29px;
text-transform: uppercase;
color: #f2333a;
border: 1px solid #f2333a
}
.money:active:after {
display: inline-block;
vertical-align: middle;
padding: 12px 10px 0 0;
position: absolute;
text-align: center;
top: 0;
left: 0;
content: 'Перевести на баланс';
background: #f2333a;
width: 207px;
height: 29px;
text-transform: uppercase;
color: #fff;
border: 1px solid #f2333a
}
.balance-text {
color: #aaa
}
.money-info {
position: relative;
margin: 20px 0 0;
width: 100%;
border-top: 1px solid #e6e6e6;
font-size: .8em
}
.money-info td:nth-child(1) {
padding: 8px 10px 8px 40px;
vertical-align: top
}
.money-info td:nth-child(2) {
padding: 8px 40px 10px 10px
}
.money-info tr:last-child td {
padding-bottom: 20px
}
.red {
color: #f2333a;
border: none
}
.border td {
border-top: 1px solid #e6e6e6
}
.icon-percent {
position: relative;
top: 1px;
display: inline-block;
width: 12px;
height: 12px;
background: url("../img/percent-icon.png") no-repeat
}
.icon-clock {
width: 12px;
background: url("../img/icon-clock.png") no-repeat
}
.icon-clock,.icon-question {
position: relative;
display: inline-block;
top: 1px;
height: 12px
}
.icon-question {
left: 2px;
width: 8px;
background: url("../img/question-icon.png") no-repeat
}
.icon-vk {
top: 1px;
left: -3px;
height: 12px;
background: url("../img/vk-icon.png") no-repeat
}
.icon-vk,.icon-alert {
position: relative;
display: inline-block;
width: 20px
}
.icon-alert {
top: 3px;
left: 0;
height: 20px;
margin: 0 10px 0 0;
background: url("../img/icon-alert.png") no-repeat
}
.icon-ip {
width: 14px;
background: url("../img/icon-ip.png") no-repeat
}
.icon-ip,.icon-market {
position: relative;
display: inline-block;
top: 1px;
left: 0;
height: 12px;
margin: 0 10px 0 0
}
.icon-market {
width: 12px;
background: url("../img/icon-market.png") no-repeat
}
.icon-comment {
width: 12px;
background: url("../img/icon-comment.png") no-repeat
}
.icon-comment,.icon-stat {
position: relative;
display: inline-block;
top: 1px;
left: 0;
height: 12px;
margin: 0 10px 0 0
}
.icon-stat {
width: 14px;
background: url("../img/icon-stat.png") no-repeat
}
.lists {
box-sizing: border-box;
padding: 20px
}
.orange {
color: #ff702a
}
.blue {
color: #1cbbb4
}
.list-title {
font-size: 1.1em;
border-bottom: 1px solid #e6e6e6;
padding: 10px 0
}
.first-title {
padding: 0 0 10px
}
.list-block {
color: #666;
font-size: .9em;
margin: 10px 0 20px;
padding: 0
}
.list-block__item {
list-style: none;
border-bottom: 1px dashed #e6e6e6;
padding: 15px 0
}
.list-block__item a {
border: none;
color: #000
}
.list-block__item a:hover {
color: #d00020
}
.list-block__item .sticker {
float: none;
margin: 0 0 0 10px;
text-transform: uppercase
}
.reason {
color: #333
}
.alert {
width: 100%;
box-sizing: border-box;
padding: 10px;
border: 1px solid #d7d7d7;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: 0 0 10px;
text-align: center
}
.alert-green {
background: #bcffca
}
.alert-yellow {
background: #fff5bc
}
.alert-red {
background: #ffbcbc
}
.alert-blue {
background: #bcddff
}
.alert-title {
font-size: 1.2em;
font-weight: 700;
text-shadow: 1px 1px #fff;
padding-top: 52px;
}
.alert-title,.alert p {
margin: 0 0 5px
}
.full-input {
width: 100%!important
}
.no-left-padding {
padding-left: 0!important
}
.no-right-padding {
padding-right: 0!important
}
.custom-select {
position: relative;
width: 100%;
border: 1px solid #000;
background-color: #fff;
box-sizing: border-box;
height: 50px;
outline: none;
overflow: hidden;
margin-bottom: 10px
}
.custom-select:after {
position: absolute;
top: 22px;
right: 20px;
content: '';
width: 8px;
height: 4px;
display: block;
z-index: 10;
background: url("../img/arrow-down.png") no-repeat
}
.custom-select select {
width: 100%;
height: 50px;
background: 0 0;
background: rgba(0,0,0,0);
-webkit-appearance: none;
border: 0;
outline: 0;
color: #4f4f4f;
padding: 0 0 0 10px
}
.custom-select select[disabled] {
color: #e6e6e6
}
.margin-bottom {
margin-bottom: 15px
}
@media screen and (max-width: 960px) {
.menu-starter {
display:block
}
.menu {
display: none;
width: 100%;
top: 70px;
left: 0;
background: #292929
}
.menu-visible {
display: block!important
}
.menu__item {
display: block;
width: 100%;
margin: 0;
border-top: 1px solid #464646
}
.menu__item:after {
content: ''
}
.menu__item-link {
display: block;
width: 100%;
padding: 20px 0;
text-align: center;
background: #292929
}
.menu__item-link:hover,.menu__item-link:focus {
background: #f2333a;
color: #fff
}
.server-ip {
font-size: .8em
}
}
@media screen and (max-width: 800px) {
.server-ip {
font-size:.6em
}
}
@media screen and (max-width: 568px) {
h1,h2 {
font-size:1.5em
}
.logo {
margin: 0
}
.server-table td {
font-size: .6em
}
.server-list .grid .unit:first-child,.server-list .grid .unit:last-child {
padding-left: 20px;
padding-right: 20px
}
}
.popup-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,.5);
z-index: 50
}
.popup-content {
position: absolute;
top: 10%;
left: 50%;
width: 560px;
margin: 0 0 0 -280px;
background: #fff;
-moz-box-shadow: 0 0 5px rgba(0,0,0,.3);
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
box-shadow: 0 0 5px rgba(0,0,0,.3);
box-sizing: border-box;
padding: 20px;
color: #000;
font-size: .8em;
font-weight: 700
}
.popup-content .title {
display: block;
margin: 0 0 10px;
padding: 5px 0;
font-size: 1.1em;
text-align: left;
letter-spacing: normal
}
.popup-content p {
position: relative;
width: 385px;
line-height: .4
}
.popup-content p span {
position: absolute;
left: 177px
}
.popup-content .separator-full {
margin: 15px 0
}
.popup-links a {
display: block;
margin: 5px 0;
padding: 3px 0;
font-size: 1.2em
}
.popup-links a:hover {
color: rgba(232,0,0,.59)
}
.view {
top: 60px
}
.view,.close {
position: absolute;
right: 20px
}
.close {
top: 20px;
width: 8px;
height: 8px;
background: url("../img/close.png") no-repeat;
cursor: pointer
}
.gallery-thumb {
width: 120px;
height: 120px;
-webkit-border-radius: 75px;
-moz-border-radius: 75px;
border-radius: 75px
}
.link-list {
list-style: none;
margin: 15px 0;
padding: 0
}
.link-list li {
display: inline-block;
margin: 0 10px 0 0
}
.link-list li>a {
display: inline-block;
position: relative;
border: none
}
.link-list li:hover>a:after {
position: absolute;
display: inline-block;
content: '';
top: 0;
left: 0;
width: 120px;
height: 120px;
-webkit-border-radius: 75px;
-moz-border-radius: 75px;
border-radius: 75px;
background: rgba(0,0,0,.5)url("../img/lupa.png") center no-repeat
}
.message {
position: relative;
top: 20px;
text-align: center;
display: block;
width: 100%;
color: #fff;
font-size: 14px;
}
.message__green {
background: #5db95c;
border: 1px solid #4dae4b;
padding: 2px 5px;
color: #fff;
}
.message__orange {
background: #f0ad4e;
border: 1px solid #eea235;
padding: 2px 5px;
color: #fff;
}
.message__blue {
background: #5ac0de;
border: 1px solid #46b8da;
padding: 2px 5px;
color: #fff;
}
.message__red {
background: #de1b23;
border: 1px solid #bc1b23;
padding: 2px 5px;
color: #fff;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment