kolibrios.org/style.css

388 lines
6.6 KiB
CSS
Raw Normal View History

@import "dropdown.css";
@import "reset.css";
html {
overflow-y: scroll;
}
body {
color: #333;
background: #F4F5F5;
line-height: 2em;
font-size: 12pt;
font-family: "Source Sans Pro", "Open Sans", sans-serif;
}
#menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
text-align: center;
padding: 7px 0;
background: #222325;
background: rgba(0,0,0, .8);
background-image: linear-gradient(90deg,#222325,#3b3c3f,#222325);
z-index:9000;
cursor: default;
/*backdrop-filter: saturate(180%) blur(20px);*/
}
#menu > * {
color: #a7a7a7;;
text-decoration: none;
margin: 0 1%;
font-size: 1rem;
cursor: pointer;
transition: color 0.15s ease;
}
#menu a:hover, #menu a.a {
color: white;
}
.lang-dropdown img {
width:16px;
height:11px;
}
#article, #banner {
border-radius: 8px;
box-shadow: 0 3px 8px -6px rgba(0,0,0,.1);
border: 1px solid rgba(0,0,0,.14);
}
#article {
max-width: 910px;
margin: auto;
margin-top: 78px;
text-align: justify;
padding: 15px 35px;
background: #fff;
}
#banner {
display: block;
margin: auto;
margin-top: 18px;
margin-bottom: -10px;
padding: 5px;
max-width: 100%;
max-height: 100%;
width: 900px;
height: 150px;
transition: border 0.5s ease;
}
#banner:hover {
border: 1px solid rgba(0,0,0,.34);
}
#banner.big {
height: 250px;
}
#article.index_russian > p {
text-indent: 25px;
}
strong {
color: #000;
font-weight: bold;
}
h1 {
color: #000;
padding: 10px 25px;
font-size: 130%;
}
#footer {
padding: 1.2%;
font-size: 90%;
text-align: center;
color: #848585;
text-shadow: 1px 1px 0 #fff;
}
#footer span {
padding:0 3px;
}
a {
color: #1F1F1F;
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
/* DOWNLOAD.CSS */
table {
width: 95%;
max-width: 800px;
margin: auto;
}
.download table {
margin-top: 30px;
margin-bottom: 30px;
}
.download table a[href^="//archive"] {
padding-bottom: 1px;
border-bottom: 1px dashed #ccc;
margin-left:0;
text-align: right;
float: right;
line-height: 1.2;
}
td {
vertical-align: middle;
padding: 10px 0;
text-align: right;
}
.date_cell {
padding-left: 10px;
padding-right: 35px;
text-align: center;
}
.download .description_cell {
padding: 14px 18px;
padding-left: 18px;
padding-right: auto;
line-height: 1.2em;
text-align: left;
margin: 3px 0;
width: 45%;
}
.download table a {
margin: 0 6px;
padding-bottom: 1px;
border-bottom: 1px solid;
text-decoration: none;
color: rgb(4, 114, 216);
position: relative;
top: -1px;
}
.download table tr > :first-child {
width: 32px;
}
.download table td > div {
display: inline-block;
width: 32px;
height:32px;
background: url(i/icons.png) no-repeat;
vertical-align: middle;
}
/* SCREENS.CSS */
#screen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#show {
max-width: 1152px;
max-height: 864px;
width: 100%;
height: 100%;
cursor: pointer;
border: 1px solid #182028;
display: block;
position: relative;
top: 50%;
left: 50%;
margin-left: -576px;
margin-top: -432px;
border-radius: 5px;
overflow: hidden;
}
#show img {
display: none;
max-width: 100%;
}
#show img.visible {
display: block;
}
#carousel {
position: fixed;
bottom:0;
left: 0;
width: 100%;
text-align: center;
background: #333;
z-index:9000;
}
#carousel * {
vertical-align: middle;
}
#panel_minislides button {
margin: 8px 8px;
outline: none;
width: 84px;
height: 64px;
background-repeat: no-repeat;
background-position: center;
border: 2px #444 solid;
}
#panel_minislides button:first-child { background-image: url(/i/scroll-left.gif);border:none;width:20px;}
#panel_minislides button:last-child { background-image: url(/i/scroll-right.gif);border:none;width:20px;}
#panel_minislides button:nth-child(2) {background-image: url(/i/slaid/minislaid1.png);}
#panel_minislides button:nth-child(3) {background-image: url(/i/slaid/minislaid2.png);}
#panel_minislides button:nth-child(4) {background-image: url(/i/slaid/minislaid3.png);}
#panel_minislides button:nth-child(5) {background-image: url(/i/slaid/minislaid4.png);}
#panel_minislides button:nth-child(6) {background-image: url(/i/slaid/minislaid5.png);}
#panel_minislides button:nth-child(7) {background-image: url(/i/slaid/minislaid6.png);}
#panel_minislides .active {
border-color: #fff !important;
}
#spoiler {
width:100%;
border-bottom:1px #555 solid;
cursor: pointer;
background: 7px 7px no-repeat url("/i/items.png");
color:#fff;
text-shadow: 1px 1px 0 #111;
}
#show_previews {
position: absolute;
left: 7px;
top: 7px;
color:#888;
text-decoration:none;
}
iframe {
max-width: 100%;
}
/* Adaptive coding */
@media (max-width:864px) {
#article, #footer, #screen, #show, #menu {
position: static;
}
html {
overflow-y: auto;
}
#article {
margin-top: 0;
line-height: 1.45em;
padding: 1% 4%;
border-radius: 0;
}
#banner {
max-height: 98%;
max-width: 98%;
width: auto;
height: auto !important;
}
a.nav, #text_preview, .date_cell {
display: none !important;
visibility: collapse;
}
table {
width: 100%;
}
#menu {
padding: 5px 10px;
width: auto;
}
#menu > a {
margin: 2%;
}
#menu a.notrequired {
display: none !important;
visibility: collapse;
}
#show {
display: inline;
margin: 0;
display: block;
border: none;
overflow: visible;
margin-top: 40px;
}
.download table a {
float: left;
display: block;
margin: 5px;
padding-bottom: 0;
}
}
.beta:after{
content: "BETA";
border: 1px solid #708d9b;
border-radius: 3px;
color: #506d7b;
text-align: center;
font-size: 7px;
font-family: sans-serif;
font-weight: bold;
line-height: 27px;
padding: 2px 3px;
letter-spacing: .5px;
position: relative;
top: -12px;
left: 5px;
}
.download table button.help-button {
font-weight: bold;
text-decoration: none;
display: inline-block;
float: left;
background-color: #ED8B16;
background-image: linear-gradient(center top , #EF962B 0%, #ED8B16 100%);
border: 0 none;
border-radius: 3px;
box-shadow: 0 1px 0 rgba(254, 181, 94, 0.9) inset, 0 -2px 0 rgba(0, 0, 0, 0.04) inset;
color: #FFFFFF;
font-size: 13px;
padding: 0.5em 1.5em;
text-align: center;
text-shadow: 0 1px 0 rgba(222, 122, 0, 0.8);
margin: 0 0 0 18px;
transition: .5s;
}
.download table button.help-button:hover {
background: #ff9800;
}