bmstu-mt-wp/styles/screen.css

264 lines
8.1 KiB
CSS
Raw Normal View History

2010-10-30 04:16:19 +04:00
@import url(reset.css);
@import url(fonts.css);
BODY {
2010-10-31 20:19:03 +03:00
background:#DDD;
2010-10-30 04:16:19 +04:00
color:#000;
2010-10-31 20:19:03 +03:00
counter-reset:paging;
2010-11-04 03:30:47 +03:00
font:15px 'PT Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;;
2010-10-30 04:16:19 +04:00
}
A {
text-decoration:none;
2010-10-31 20:19:03 +03:00
}
/* Shower
---------------------------------------- */
.shower {
margin:45px auto;
2010-10-31 20:19:03 +03:00
width:800px;
}
/* Slide
---------------------------------------- */
.slide {
position:relative;
margin:0 0 45px;
2010-10-31 20:19:03 +03:00
background:#FFF;
border:10px solid #CCC;
-webkit-border-radius:10px;
-moz-border-radius:10px;
2010-10-31 20:19:03 +03:00
border-radius:10px;
}
2010-11-02 16:14:38 +03:00
.slide:first-child {
cursor:pointer;
}
.slide:first-child:after {
position:absolute;
top:50%;
left:50%;
margin:-75px 0 0 -75px;
width:150px;
height:150px;
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAABoVBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+lpaVRUVHt7e2urq4kJCT8/PwqKirz8/Ph4eHn5+fPz8+NjY0SEhI2NjYMDAzV1dV7e3tpaWmWlpZaWlpjY2Ofn5+3t7eEhIRISEhFRUUDAwPS0tK6urotLS0eHh4bGxu0tLQwMDDJyckPDw/AwMD29vb5+fkJCQne3t54eHhsbGzk5ORmZmaBgYFgYGCTk5OZmZldXV1XV1c/Pz9+fn7///8AAADb29tycnKcnJwGBgbw8PAYGBhLS0urRoz6AAAATXRSTlMA8+oemRjwhFr5A8P8zGn22xtUFWAGsQmBvUI/59iHk3gze8AnjQyWdVfeLckwxn7hJCFy7ZwSRb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t8j/9ETmfPHsEiyTPwGIPrDXOc8oe70tyiYHFXoaaIa26Y2HVlMGGvWi3OWMgO5Y4EWhofm05NHNWDHbkVeUsZOyAsMBZX8lxauR92X/vtOyTohFyVN8gBUnkw0bLY+x2oIvdZEaPxT2azbAiXe6JseIpAO8zAnD+uaDLOBfIBTUW9dhfkn+aU2NRqxFzKda8GotaJJlnnzm33jDPnDKrxWKWlGbx90wtFrPSdZFZOPjOKhw0ifUMYl0w5pVZdphlFlL1B0EHv4c3WnTFetul9sqGOsQjllhIQqkaoZTwFuklPH1lcfDOf2VRysXjL3gWywLZ1pJwwWGrriwP98KVh4+/av2nmjvITRgGwjA6QELMhJTSqoLQIjlElQhqqEBKipIdbIAzsOUic/JyAUshxvbwVl56b3+/IjxNqZHrhYxIVd/4R+TQaMMyepCggik5kyLXoEbt6Co/Oj5jrAUYkgMh8g4B1fb2s8k9/8hUTdhNcjP2ATOfpjNgGcdPeU4J8BxeYDlTMYMWEtOjHgnPCRSmgzHtiQ4Z0RGgZRuSAestaMLl46eblgj6xgd6qMOY4SzY6x/XETX+k3P6yqBPWvpBCSacpM6c4eIEpkzEjlrZiQkY5cuK7lRJHyzI6zk1Nq9zsMbPigZPyasi88G23tmLlXdbxd65B85gIhZeEUVRRTfV7VB4vyJB0PMPrLSkIal8JSEAAAAASUVORK5CYII=) no-repeat;
content:'';
opacity:0.5;
-webkit-transition:opacity 0.3s linear;
-moz-transition:opacity 0.3s linear;
-ms-transition:opacity 0.3s linear;
-o-transition:opacity 0.3s linear;
}
.slide:first-child:hover:after {
opacity:0.8;
}
2010-10-31 20:19:03 +03:00
.slide:before {
position:absolute;
top:-12px;
2010-10-31 20:19:03 +03:00
z-index:2;
right:45px;
width:25px;
height:75px;
-webkit-border-radius:2px 2px 0 0;
-moz-border-radius:2px 2px 0 0;
border-radius:2px 2px 0 0;
2010-10-31 20:19:03 +03:00
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAEsCAMAAAACQObTAAAAz1BMVEXMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAADMAAAS27ylAAAARHRSTlMA+QMGCfb8D/BFw+3GEgzP8zM8zLdUhKufYDY5SDDJsXJjvVGZeKVLFZOKP2ldfm9a6rScwNKulqhXTpCNdWy6h6JCgQMMiNQAAAGxSURBVHhe7M2xCcJgFAbA1xkJPzGkU7S2tXAD959JxOJbIE8Q7ha4ev3APyUSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBKJRCKRSCSSx/HZnszXui9dSY7K0pPMa32MpTGZ1voaW0OSI0tPMp0rDtvuSY4st4bkdKnIsmvyrm0+VyKIoQCMfskUcRERWXdXFKwFu6hYe3n/Z1LwxxVmTCa5N+cFjhyyLBgnS8sQXvRJ03fA4sCFnEOWkVnSHINqQXVAPTJJmg9C6muDpJknrN5WJHJEF2Xi1omrX2OJ/oB6rEjcAVgsWBxQjTMT98Bw1WVW4nZIUW0EEvUhS3LiVkhV3SQmbfoB1TQhkcNoofe4J4+fDk7aC3L5u4FJe0o+vx9J5DBe6Byr6Pj3eKI9wM8CiRzqJZxsYWLWSewPuPo/OcHMbieRw3jpJi+Yuu1LzjF2KEmpQxZJNingUZJiBzz9TZ4p5EiSPSi6UPaAt9/kjKImP4kc5RY+KW7yDcDGg0ekTkUOAAAAAElFTkSuQmCC) 0 100% no-repeat;
-webkit-background-size:100%;
-moz-background-size:100%;
background-size:100%;
content:'';
}
/* Article */
.slide ARTICLE {
padding:30px 45px 15px 60px;
2010-10-31 20:19:03 +03:00
line-height:1.7;
}
.slide ARTICLE:after {
display:block;
margin:0 0 15px;
color:#AAA;
counter-increment:paging;
content:counter(paging, decimal-leading-zero);
}
/* Elements */
.slide ARTICLE H1,
.slide ARTICLE H2 {
margin:0 0 15px;
color:#666;
font:bold 35px/1.2 'PT Sans Narrow', sans-serif;
2010-10-31 20:19:03 +03:00
}
.slide ARTICLE P {
margin:0 0 15px;
}
.slide ARTICLE P.note {
color:#888;
}
.slide ARTICLE A {
border-bottom:0.07em solid;
color:#0174A7;
}
.slide ARTICLE A[target=_blank]:after {
position:absolute;
margin:0.1em 0 0 0.3em;
font-family:'Target Blank';
content:'\005E';
}
2010-10-31 20:19:03 +03:00
.slide ARTICLE B,
.slide ARTICLE STRONG {
font-weight:bold;
}
.slide ARTICLE I,
.slide ARTICLE EM {
font-style:italic;
}
2010-11-05 15:42:10 +03:00
.slide ARTICLE KBD,
.slide ARTICLE CODE {
padding:1px 4px;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
background:#EEE;
font-family:Consolas, 'Droid Sans Mono', monospace;
}
2010-10-31 20:19:03 +03:00
/* Quote */
.slide ARTICLE BLOCKQUOTE {
font-style:italic;
}
.slide ARTICLE BLOCKQUOTE:before {
position:absolute;
margin:-8px 0 0 -45px;
2010-10-31 20:19:03 +03:00
color:#BBB;
line-height:1;
font-size:100px;
2010-10-31 20:19:03 +03:00
content:'\201C';
}
.slide ARTICLE BLOCKQUOTE:after {
display:block;
margin:0 0 15px;
color:#444;
font-weight:bold;
content:attr(cite);
}
/* Lists */
.slide ARTICLE OL,
.slide ARTICLE UL {
margin:0 0 15px;
counter-reset:list;
}
.slide ARTICLE OL LI:before,
.slide ARTICLE UL LI:before {
position:absolute;
margin-left:-60px;
width:50px;
2010-10-31 20:19:03 +03:00
color:#AAA;
text-align:right;
}
.slide ARTICLE UL LI:before {
margin-top:2px;
2010-10-31 20:19:03 +03:00
line-height:1;
font-size:20px;
content:'\2022';
}
.slide ARTICLE OL LI:before {
counter-increment:list;
content:counter(list)'\002E';
}
/* Code */
.slide ARTICLE PRE {
margin:0 0 15px;
counter-reset:code;
white-space:normal;
}
.slide ARTICLE PRE CODE {
display:block;
2010-11-05 15:42:10 +03:00
padding:0;
background:none;
2010-10-31 20:19:03 +03:00
white-space:pre;
}
.slide ARTICLE PRE CODE:before {
position:absolute;
margin:0 0 0 -60px;
width:53px;
2010-10-31 20:19:03 +03:00
color:#BBB;
text-align:right;
counter-increment:code;
content:counter(code, decimal-leading-zero)'.';
}
.slide ARTICLE PRE EM,
.slide ARTICLE PRE STRONG {
padding:1px 4px;
-webkit-border-radius:4px;
-moz-border-radius:4px;
border-radius:4px;
}
.slide ARTICLE PRE EM {
background:#FAFAA2;
color:#000;
font-style:normal;
}
.slide ARTICLE PRE STRONG {
background:#C00;
color:#FFF;
font-weight:normal;
}
/* Cover
---------------------------------------- */
2010-11-04 03:30:47 +03:00
.slide.cover {
min-height:488px;
}
2010-10-31 20:19:03 +03:00
.slide.cover:before {
position:absolute;
top:0;
right:45px;
2010-10-31 20:19:03 +03:00
z-index:2;
width:25px;
2010-10-31 20:19:03 +03:00
height:100%;
background:#000;
content:'';
}
2010-11-04 03:30:47 +03:00
.slide.cover ARTICLE:after {
display:none;
}
2010-10-31 20:19:03 +03:00
/* Back
---------------------------------------- */
.slide.back {
}
.slide.back ARTICLE {
padding:0;
}
.slide.back ARTICLE H1,
.slide.back ARTICLE H2 {
position:absolute;
top:30px;
left:60px;
2010-10-31 20:19:03 +03:00
}
.slide.back ARTICLE:after {
position:absolute;
bottom:15px;
left:60px;
2010-10-31 20:19:03 +03:00
}
.slide.back IMG {
display:block;
width:100%;
}
/* Shout
---------------------------------------- */
.slide.shout {
}
.slide.shout ARTICLE:after {
content:'';
}
.slide.shout ARTICLE H2 {
padding:30px 0;
text-align:center;
font-size:60px;
}
.slide.shout ARTICLE A:after {
content:'';
2010-11-03 14:50:46 +03:00
}