Difference between revisions of "Team:Czech Republic/Template:Stylesheet"
Zcu georgiev (Talk | contribs) |
|||
(144 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
− | |||
<style> | <style> | ||
Line 23: | Line 22: | ||
} | } | ||
− | ul | + | #main-div ul, #main-div ol |
{ | { | ||
− | margin: 0px; | + | margin: 0px 0px 10px 0; |
+ | } | ||
+ | |||
+ | #main-div ol li | ||
+ | { | ||
+ | margin-left: 30px; | ||
+ | } | ||
+ | |||
+ | #main-div ul li | ||
+ | { | ||
+ | margin-left: 20px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #main-div ul li:before | ||
+ | { | ||
+ | content: "• "; | ||
+ | color: #CC1D24; | ||
+ | margin-left: -12px; | ||
+ | padding-right: 3px; | ||
+ | position: relative; | ||
+ | z-index: 5; | ||
+ | } | ||
+ | |||
+ | #main-div ul.gallery li | ||
+ | { | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | #main-div ul.gallery li:before | ||
+ | { | ||
+ | content: "" | ||
+ | } | ||
+ | |||
+ | .image | ||
+ | { | ||
+ | position: relative; | ||
+ | z-index: 20; | ||
+ | } | ||
+ | |||
+ | .break | ||
+ | { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | #main-div .thumb.tright | ||
+ | { | ||
+ | border: 0; | ||
+ | margin: 1em; | ||
+ | } | ||
+ | |||
+ | #main-div .thumbinner | ||
+ | { | ||
+ | padding: 0 !important; | ||
+ | border: 0; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | #main-div .thumbinner a img | ||
+ | { | ||
+ | border: 0; | ||
+ | } | ||
+ | |||
+ | #main-div .thumb div | ||
+ | { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | #main-div .thumbcaption | ||
+ | { | ||
+ | text-align: justify; | ||
+ | font-weight: 400; | ||
+ | font-size: 11px; | ||
+ | color: #505050; | ||
+ | } | ||
+ | |||
+ | #main-div .thumbcaption .magnify | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #main-div dd | ||
+ | { | ||
+ | margin-left: 0.2em; | ||
} | } | ||
Line 51: | Line 133: | ||
#bodyContent, body, html | #bodyContent, body, html | ||
{ | { | ||
− | font-family: "Roboto"; | + | font-family: "Roboto", sans-serif; |
font-weight: 300; | font-weight: 300; | ||
font-size: 14px; | font-size: 14px; | ||
Line 57: | Line 139: | ||
} | } | ||
− | + | strong, b | |
{ | { | ||
− | color: # | + | color: #000000; |
+ | font-weight: 700; | ||
+ | } | ||
+ | |||
+ | header | ||
+ | { | ||
+ | margin: 0 0 20px 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .info-box | ||
+ | { | ||
+ | } | ||
+ | |||
+ | .info-box .right h2 | ||
+ | { | ||
+ | margin-left: 0.25em; | ||
+ | } | ||
+ | |||
+ | .info-box h2 | ||
+ | { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | |||
+ | .toclevel-3, .toclevel-4, .toclevel-5 | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #main-div header h1 | ||
+ | { | ||
+ | margin: 0; | ||
+ | font-size: 48px; | ||
+ | font-weight: 400; | ||
+ | text-transform: uppercase; | ||
+ | color: #303030; | ||
+ | } | ||
+ | |||
+ | #main-div h1, #main-div h2 | ||
+ | { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | #main-div h6 | ||
+ | { | ||
+ | font-weight: 400; | ||
+ | font-size: 1.2em; | ||
+ | color: #303030; | ||
+ | } | ||
+ | |||
+ | #main-div h5 | ||
+ | { | ||
+ | font-weight: 400; | ||
+ | font-size: 1.3em; | ||
+ | color: #303030; | ||
+ | } | ||
+ | |||
+ | #main-div h4 | ||
+ | { | ||
+ | font-weight: 700; | ||
+ | font-size: 1.3em; | ||
+ | color: #303030; | ||
+ | } | ||
+ | |||
+ | #main-div h3 | ||
+ | { | ||
+ | font-weight: 700; | ||
+ | font-size: 1.4em; | ||
+ | color: #303030; | ||
+ | } | ||
+ | |||
+ | #main-div h2 | ||
+ | { | ||
+ | font-weight: 700; | ||
+ | font-size: 1.5em; | ||
+ | } | ||
+ | |||
+ | #main-div h1 | ||
+ | { | ||
+ | font-weight: 700; | ||
+ | font-size: 1.8em; | ||
+ | } | ||
+ | |||
+ | address | ||
+ | { | ||
+ | font-style: normal; | ||
} | } | ||
Line 72: | Line 239: | ||
} | } | ||
− | .mw-headline:after | + | h1 .mw-headline:after |
{ | { | ||
content: ""; | content: ""; | ||
Line 83: | Line 250: | ||
top: 0; | top: 0; | ||
left: 100%; | left: 100%; | ||
+ | |||
width: 100px; | width: 100px; | ||
− | width: -webkit-calc( | + | width: -webkit-calc(950px - 100%); |
− | width: calc( | + | width: calc(950px - 100%); |
} | } | ||
Line 92: | Line 260: | ||
border-top: 70px solid transparent; | border-top: 70px solid transparent; | ||
margin-top: -70px; | margin-top: -70px; | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .floatnone img | ||
+ | { | ||
+ | margin: 5px 0 15px 0; | ||
+ | } | ||
+ | |||
+ | pre | ||
+ | { | ||
+ | word-wrap: break-word; | ||
+ | white-space: pre-wrap; | ||
+ | height: 8em; | ||
+ | overflow-y: scroll; | ||
+ | resize: vertical; | ||
} | } | ||
Line 99: | Line 282: | ||
{ | { | ||
margin-top: 2px; | margin-top: 2px; | ||
− | margin-bottom: | + | margin-bottom: 10px; |
text-align: justify; | text-align: justify; | ||
position: relative; | position: relative; | ||
Line 105: | Line 288: | ||
} | } | ||
− | a, a:visited | + | #main-div a, #main-div a:visited, |
+ | #main-div a.external, #main-div a.external:visited | ||
{ | { | ||
color: #CC1D24; | color: #CC1D24; | ||
+ | } | ||
+ | |||
+ | #main-div a.external | ||
+ | { | ||
+ | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QAzAAdACT9W2pXAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wkQEC4amPZikgAAAP5JREFUKM+VkjtrAlEQhb97s5jVwgexsRCbBERThDwgRYr8Ba2sbLRLk9YmgbSC3XZbS3q7QCB2QrLpTG0hWIh2rhrWR6GEZffekAwMwwxzmJkzR3xkj/mvSU39AfA0jqEBPe3jNVAGFvs8BPICQAH0VdsEC4aZSkaBDDAAKoALxADzp8mPuLirM59M2+54cj547baAL6AAPAND5STHsjFTyepR/uQtd3vzCDSADlAEespJAELKOVBLF/PN75l7P3r/PAVGPnLCRzqWDcBmvW5kLs/6B5HIVZBV5Z8cy0ZI6a2Wy9JhIv4S2sanCE+ngM2Of0N1k+7RiD/K6FfbAqsCPj1oC/QAAAAAAElFTkSuQmCC) | ||
} | } | ||
Line 116: | Line 305: | ||
padding: none; | padding: none; | ||
color: #CC1D24; | color: #CC1D24; | ||
− | + | } | |
+ | |||
+ | hr | ||
+ | { | ||
+ | margin: 1em 0 1.5em 0; | ||
} | } | ||
Line 142: | Line 335: | ||
@media screen and (min-width: 1800px) | @media screen and (min-width: 1800px) | ||
{ | { | ||
− | #toc, .toc | + | #main-div #toc, #main-div .toc |
{ | { | ||
z-index: 98; | z-index: 98; | ||
Line 155: | Line 348: | ||
} | } | ||
− | #toc, .toc | + | #main-div #toc, #main-div .toc |
{ | { | ||
border: none; | border: none; | ||
− | background | + | background: transparent; |
} | } | ||
− | #toc #toctitle, .toc #toctitle | + | #main-div #toc #toctitle, #main-div .toc #toctitle |
{ | { | ||
text-align: left; | text-align: left; | ||
Line 167: | Line 360: | ||
} | } | ||
− | #toc #toctitle h2, .toc #toctitle h2 | + | #main-div #toc #toctitle h2, #main-div .toc #toctitle h2 |
{ | { | ||
font-size: 120%; | font-size: 120%; | ||
Line 173: | Line 366: | ||
} | } | ||
− | + | #main-div #toc li | |
+ | { | ||
+ | margin-left: 0; | ||
+ | list-style: none; | ||
+ | } | ||
+ | #main-div #toc ul li:before | ||
+ | { | ||
+ | content: ""; | ||
+ | } | ||
+ | |||
+ | /* PANEL -------------------------------------------------------------------*/ | ||
#panel | #panel | ||
{ | { | ||
Line 180: | Line 383: | ||
position: fixed; | position: fixed; | ||
+ | height: 40px; | ||
width: 100%; | width: 100%; | ||
Line 194: | Line 398: | ||
margin: auto; | margin: auto; | ||
} | } | ||
− | |||
#panel-ul | #panel-ul | ||
{ | { | ||
− | margin: 0px | + | margin: 0px; |
padding: 0px; | padding: 0px; | ||
list-style-type: none; | list-style-type: none; | ||
+ | display: inline-block; | ||
} | } | ||
Line 208: | Line 412: | ||
margin: 0px; | margin: 0px; | ||
− | padding: 0px; | + | padding: 0px 20px; |
+ | |||
+ | height: 100%; | ||
} | } | ||
#panel-ul li a | #panel-ul li a | ||
{ | { | ||
− | + | color: white; | |
text-decoration: none; | text-decoration: none; | ||
− | |||
− | + | margin: 0px; | |
+ | padding: 0px; | ||
+ | } | ||
− | + | #panel-ul-logo { | |
− | margin: | + | display: inline-block; |
+ | margin: 0; | ||
} | } | ||
− | #panel-ul | + | #panel-ul-logo img { |
− | { | + | vertical-align: middle; |
+ | width: 112px; | ||
height: 40px; | height: 40px; | ||
− | |||
− | |||
} | } | ||
− | #panel-ul li:hover > a | + | #panel-ul li:hover > a, #panel-ul-logo:hover |
{ | { | ||
− | transition: opacity 0. | + | text-decoration: none; |
+ | transition: opacity 0.2s ease; | ||
-webkit-transition: opacity 0.3s ease; | -webkit-transition: opacity 0.3s ease; | ||
-moz-transition: opacity 0.3s ease; | -moz-transition: opacity 0.3s ease; | ||
-o-transition: opacity 0.3s ease; | -o-transition: opacity 0.3s ease; | ||
opacity: 0.65; | opacity: 0.65; | ||
+ | } | ||
+ | |||
+ | /* MOBILE VERSION ------------------------------------ */ | ||
+ | |||
+ | #panel-ul-switch { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | @media screen and (max-width: 1000px) | ||
+ | { | ||
+ | .centered-list { | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #panel-ul-logo { | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #panel-ul { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #panel-ul-switch:hover #panel-ul { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #panel-ul-button:hover > div > div | ||
+ | { | ||
+ | transition: opacity 0.3s ease; | ||
+ | -webkit-transition: opacity 0.3s ease; | ||
+ | -moz-transition: opacity 0.3s ease; | ||
+ | -o-transition: opacity 0.3s ease; | ||
+ | opacity: 0.65; | ||
+ | } | ||
+ | |||
+ | #panel-ul-switch #panel-ul { | ||
+ | position: absolute; | ||
+ | background-color: #303030; | ||
+ | width: 200px; | ||
+ | top: 40px; | ||
+ | right: 0; | ||
+ | } | ||
+ | |||
+ | #panel-ul-switch { | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | #panel-ul li, #panel-ul li a { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #panel-ul li | ||
+ | { | ||
+ | padding: 10px 20px; | ||
+ | } | ||
+ | |||
+ | #panel-ul-button { | ||
+ | display: inline-block; | ||
+ | width: 30px; | ||
+ | height: 30px; | ||
+ | margin: 5px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | #panel-ul-button > div > div | ||
+ | { | ||
+ | background-color: white; | ||
+ | height: 4px; | ||
+ | width: 25px; | ||
+ | margin: 4px 0px; | ||
+ | } | ||
} | } | ||
Line 252: | Line 531: | ||
left: 0; | left: 0; | ||
margin: 0; | margin: 0; | ||
− | padding: | + | padding: 45px 20px 40px 20px; |
− | width: | + | width: 960px; |
margin: 0px auto; | margin: 0px auto; | ||
} | } | ||
Line 265: | Line 544: | ||
margin: 0; | margin: 0; | ||
padding:0; | padding:0; | ||
+ | } | ||
+ | |||
+ | .left | ||
+ | { | ||
+ | display: inline-block; | ||
+ | float: left; | ||
+ | width: 475px; | ||
+ | } | ||
+ | |||
+ | .right | ||
+ | { | ||
+ | display: inline-block; | ||
+ | float: right; | ||
+ | width: 475px; | ||
+ | } | ||
+ | |||
+ | .left .mw-headline:after, .right .mw-headline:after | ||
+ | { | ||
+ | width: 100px; | ||
+ | width: -webkit-calc(465px - 100%); | ||
+ | width: calc(465px - 100%); | ||
+ | } | ||
+ | |||
+ | .visibility-toggle | ||
+ | { | ||
+ | color: #CC1D24; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | .visibility-toggle:hover | ||
+ | { | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | .thumb | ||
+ | { | ||
+ | z-index: 5; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | video | ||
+ | { | ||
+ | margin: 1em; | ||
} | } | ||
Line 284: | Line 606: | ||
#footer-container | #footer-container | ||
{ | { | ||
− | width: | + | width: 100%; |
− | padding: 0 | + | padding: 4em 0 4em 0; |
− | margin: 0 | + | margin: 0 0; |
} | } | ||
− | #footer-left | + | #footer-right, #footer-left |
{ | { | ||
display: inline-block; | display: inline-block; | ||
vertical-align: top; | vertical-align: top; | ||
− | + | margin: 0 8% | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 315: | Line 627: | ||
border: 0; | border: 0; | ||
padding: 0; | padding: 0; | ||
− | margin: | + | margin: 0 0 2em; |
float: left; | float: left; | ||
Line 326: | Line 638: | ||
font-size: 14px; | font-size: 14px; | ||
− | font-weight: | + | font-weight: 300; |
line-height: 1em; | line-height: 1em; | ||
− | margin: 0 0 | + | margin: 0 0 3px; |
padding: 0; | padding: 0; | ||
Line 343: | Line 655: | ||
</style> | </style> | ||
− | |||
</html> | </html> |
Latest revision as of 15:18, 18 September 2015