kolibrios.org/style.css

382 lines
6.1 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: 11.5pt;
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;
}
h3 {
color: #000;
font-weight: bold;
padding: 10px 25px;
}
#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 {
margin: auto;
}
.download table {
width: 92%;
}
td {
vertical-align: middle;
padding: 20px 0;
}
.date_cell {
padding-left: 10px;
padding-right: 35px;
width: 17%;
text-align: center;
}
.download .description_cell {
width: 43%;
padding: 14px 18px;
padding-left: 18px;
padding-right: auto;
line-height: 1.2em;
text-align: left;
margin: 3px 0;
}
.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;
}
.icon_cell, .releases td > div {
display: inline-block;
width: 32px;
height:32px;
background: url(i/icons.png) no-repeat;
vertical-align: middle;
margin-right: 15px;
}
/* Releases */
.releases .caption {
padding-top: 12px !important;
text-align: center;
margin-top: 15px;
padding: 0px !important;
}
.releases .caption strong:after {
content: " ";
padding: 0 5px;
font-weight: normal;
}
.releases td {
padding: 6px 0;
}
.releases table {
border-top: 1px solid #aaa;
}
.releases table > td {
width:320px;
line-height: 1.2em;
text-align: left;
}
.releases table > td:lang(de) {
width:350px;
}
.releases td + td {
width: 120px;
text-align: right;
}
.releases td + td img {
display: inline-block;
vertical-align: middle;
margin-left: 11px;
width: 24px;
height: 24px;
}
/* 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:1060px) {
#article, #footer, #screen, #show, #menu {
position: static;
}
html {
overflow-y: auto;
}
#menu > a {
margin: 2%;
}
#article {
margin-top: 0;
line-height: 1.45em;
padding: 1% 4%;
}
#article.releases {
font-size: 75%;
text-align: left;
}
#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;
}
#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;
}
}
@media (max-width:864px) {
#menu a.notrequired {
display: none !important;
visibility: collapse;
}
}