screen testing suite — frame.htm; media queries for screen.css
This commit is contained in:
parent
f18e86536e
commit
3920e599f4
|
@ -0,0 +1,67 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en-US">
|
||||||
|
<head>
|
||||||
|
<title>Shower</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="stylesheet" href="styles/reset.css">
|
||||||
|
<style>
|
||||||
|
BODY {
|
||||||
|
overflow:hidden;
|
||||||
|
padding:40px 50px;
|
||||||
|
background:#666;
|
||||||
|
color:#FFF;
|
||||||
|
font:15px 'Helvetica Neue', Helvetica, Arial, sans-serif;;
|
||||||
|
}
|
||||||
|
UL {
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
UL LI {
|
||||||
|
float:left;
|
||||||
|
padding:8px 10px 3px;
|
||||||
|
-webkit-border-radius:5px 5px 0 0;
|
||||||
|
-moz-border-radius:5px 5px 0 0;
|
||||||
|
border-radius:5px 5px 0 0;
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
|
UL LI:target {
|
||||||
|
background:#000;
|
||||||
|
}
|
||||||
|
IFRAME {
|
||||||
|
width:640px;
|
||||||
|
height:480px;
|
||||||
|
border:10px solid #000;
|
||||||
|
border-radius:0 10px 10px 10px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
function update() {
|
||||||
|
var url = document.location.hash.substr(1).split('x'),
|
||||||
|
frame = document.querySelector('iframe');
|
||||||
|
if(url.length == 2) {
|
||||||
|
frame.style.width = url[0] + 'px';
|
||||||
|
frame.style.height = url[1] + 'px';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function init() {
|
||||||
|
var links = document.querySelectorAll('ul li');
|
||||||
|
for(var i = 0, linksLength = links.length; i < linksLength; i++) {
|
||||||
|
links[i].onclick = function() {
|
||||||
|
document.location.hash = this.id;
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
window.onload = init;
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
<li id="640x480">640 × 480</li>
|
||||||
|
<li id="800x600">800 × 600</li>
|
||||||
|
<li id="1024x768">1024 × 768</li>
|
||||||
|
<li id="1280x1024">1280 × 1024</li>
|
||||||
|
</ul>
|
||||||
|
<iframe src="index.htm" frameborder="0"></iframe>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -24,14 +24,14 @@
|
||||||
<section class="slide" id="Header">
|
<section class="slide" id="Header">
|
||||||
<article>
|
<article>
|
||||||
<h2>Heading</h2>
|
<h2>Heading</h2>
|
||||||
<p>This <code><tool></code> is provided <strong>without</strong> warranty, guarantee, or much in the way of explanation. Note that use of <a href="#TwoLinesHeader">this tool</a> may or may not crash <em>your</em> browser, lock up your machine, erase your hard drive.</p>
|
<p>This <code><tool></code> is provided <strong>without</strong> warranty, guarantee, or much in the way of explanation. Note that use of <a href="#TwoLinesHeader">this tool</a> may or may not crash <em>your</em> browser…</p>
|
||||||
|
<p class="note"><a href="examples/index.htm" target="_blank">This link will be opened in the new tab</a></p>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
<section class="slide" id="TwoLinesHeader">
|
<section class="slide" id="TwoLinesHeader">
|
||||||
<article>
|
<article>
|
||||||
<h2>Two rows.<br>Mighty heading</h2>
|
<h2>Two rows.<br>Mighty heading</h2>
|
||||||
<p>This <code><tool></code> is provided <strong>without</strong> warranty, guarantee, or much in the way of explanation. Note that use of <a href="#SevenItemsList">this tool</a> may or may not crash <em>your</em> browser…</p>
|
<p>This <code><tool></code> is provided <strong>without</strong> warranty, guarantee, or much in the way of explanation. Note that use of <a href="#SevenItemsList">this tool</a> may or may not crash <em>your</em> browser…</p>
|
||||||
<p class="note"><a href="examples/index.htm" target="_blank">This link will be opened in the new tab</a></p>
|
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
<section class="slide" id="SevenItemsList">
|
<section class="slide" id="SevenItemsList">
|
||||||
|
|
|
@ -5,41 +5,48 @@ BODY {
|
||||||
background:#DDD;
|
background:#DDD;
|
||||||
color:#000;
|
color:#000;
|
||||||
counter-reset:paging;
|
counter-reset:paging;
|
||||||
font:15px 'PT Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;;
|
font-family:'PT Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
A {
|
A {
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media ( max-width:1024px ) { BODY { font-size:15px; } }
|
||||||
|
@media ( max-width:800px ) { BODY { font-size:12px; } }
|
||||||
|
@media ( max-width:640px ) { BODY { font-size:10px; } }
|
||||||
|
|
||||||
/* Shower
|
/* Shower
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.shower {
|
.shower {
|
||||||
margin:45px auto;
|
margin:3em auto;
|
||||||
width:800px;
|
width:55em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Slide
|
/* Slide
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.slide {
|
.slide {
|
||||||
position:relative;
|
position:relative;
|
||||||
margin:0 0 45px;
|
margin:0 0 3em;
|
||||||
background:#FFF;
|
background:#FFF;
|
||||||
border:10px solid #CCC;
|
border:0.8em solid #CCC;
|
||||||
-webkit-border-radius:10px;
|
-webkit-border-radius:0.8em;
|
||||||
-moz-border-radius:10px;
|
-moz-border-radius:0.8em;
|
||||||
border-radius:10px;
|
border-radius:0.8em;
|
||||||
}
|
|
||||||
.slide:first-child {
|
|
||||||
cursor:pointer;
|
|
||||||
}
|
}
|
||||||
|
.slide:first-child {
|
||||||
|
cursor:pointer;
|
||||||
|
}
|
||||||
.slide:first-child:after {
|
.slide:first-child:after {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:50%;
|
top:50%;
|
||||||
left:50%;
|
left:50%;
|
||||||
margin:-75px 0 0 -75px;
|
margin:-5em 0 0 -5em;
|
||||||
width:150px;
|
width:10em;
|
||||||
height:150px;
|
height:10em;
|
||||||
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAABoVBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+lpaVRUVHt7e2urq4kJCT8/PwqKirz8/Ph4eHn5+fPz8+NjY0SEhI2NjYMDAzV1dV7e3tpaWmWlpZaWlpjY2Ofn5+3t7eEhIRISEhFRUUDAwPS0tK6urotLS0eHh4bGxu0tLQwMDDJyckPDw/AwMD29vb5+fkJCQne3t54eHhsbGzk5ORmZmaBgYFgYGCTk5OZmZldXV1XV1c/Pz9+fn7///8AAADb29tycnKcnJwGBgbw8PAYGBhLS0urRoz6AAAATXRSTlMA8+oemRjwhFr5A8P8zGn22xtUFWAGsQmBvUI/59iHk3gze8AnjQyWdVfeLckwxn7hJCFy7ZwSRbfk0opjn89vtKg2q5A81TlID126UUtzOooAAAUfSURBVHhezNfJjrJAFIZhC0sEBMUyxnmORKPGKMZh47DpTfdVffb0/1fdfQEaCqhT9LNh+6Y4p5LKpTUSQ85LnufZgP37KXE+FKNcdqrW4OjjCf84sKrak2qC+4jkc1HT17Tov0Bar7/Qck7hGTGdwwJtU2N+RSLXeYMsKggNJGaEAUnUvrlDKrviXv1ITRlSY1O1i1kfV6BEZVxXV3XoQZneQVFU4Qalbipuf+fCoBi7OGmrthMQmGzTVVkmSJhWmgXkIMMTr2R+CULLfLKqVRekuqskVR0GYqwTv0rYIGeLuFVlFxq45XhVTWiyjlO1Bv5gVxkaSf9H4UIj902uqm1DK7stdYua0MyUeLIVDGhnRD7YnBYy0HIisorIRDFi3F1kwm0TDBbdeMkPlv7xmiFDs2dVG4YMsc2TrFdI+f8OEq3HVRbk3L8+vkHBelQVnGSz7vd/nyBwCh5kNX+YN7eepoIoCu+2cNSQ2DaeFJPW8gI2UdPwwIuhfQN5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4Z0RGgZRuSAestaMLl46eblgj6xgd6qMOY4SzY6x/XETX+k3P6yqBPWvpBCSacpM6c4eIEpkzEjlrZiQkY5cuK7lRJHyzI6zk1Nq9zsMbPigZPyasi88G23tmLlXdbxd65B85gIhZeEUVRRTfV7VB4vyJB0PMPrLSkIal8JSEAAAAASUVORK5CYII=) no-repeat;
|
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAABoVBMVEX///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+lpaVRUVHt7e2urq4kJCT8/PwqKirz8/Ph4eHn5+fPz8+NjY0SEhI2NjYMDAzV1dV7e3tpaWmWlpZaWlpjY2Ofn5+3t7eEhIRISEhFRUUDAwPS0tK6urotLS0eHh4bGxu0tLQwMDDJyckPDw/AwMD29vb5+fkJCQne3t54eHhsbGzk5ORmZmaBgYFgYGCTk5OZmZldXV1XV1c/Pz9+fn7///8AAADb29tycnKcnJwGBgbw8PAYGBhLS0urRoz6AAAATXRSTlMA8+oemRjwhFr5A8P8zGn22xtUFWAGsQmBvUI/59iHk3gze8AnjQyWdVfeLckwxn7hJCFy7ZwSRbfk0opjn89vtKg2q5A81TlID126UUtzOooAAAUfSURBVHhezNfJjrJAFIZhC0sEBMUyxnmORKPGKMZh47DpTfdVffb0/1fdfQEaCqhT9LNh+6Y4p5LKpTUSQ85LnufZgP37KXE+FKNcdqrW4OjjCf84sKrak2qC+4jkc1HT17Tov0Bar7/Qck7hGTGdwwJtU2N+RSLXeYMsKggNJGaEAUnUvrlDKrviXv1ITRlSY1O1i1kfV6BEZVxXV3XoQZneQVFU4Qalbipuf+fCoBi7OGmrthMQmGzTVVkmSJhWmgXkIMMTr2R+CULLfLKqVRekuqskVR0GYqwTv0rYIGeLuFVlFxq45XhVTWiyjlO1Bv5gVxkaSf9H4UIj902uqm1DK7stdYua0MyUeLIVDGhnRD7YnB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vbwVl56b3+/IjxNqZHrhYxIVd/4R+TQaMMyepCggik5kyLXoEbt6Co/Oj5jrAUYkgMh8g4B1fb2s8k9/8hUTdhNcjP2ATOfpjNgGcdPeU4J8BxeYDlTMYMWEtOjHgnPCRSmgzHtiQ4Z0RGgZRuSAestaMLl46eblgj6xgd6qMOY4SzY6x/XETX+k3P6yqBPWvpBCSacpM6c4eIEpkzEjlrZiQkY5cuK7lRJHyzI6zk1Nq9zsMbPigZPyasi88G23tmLlXdbxd65B85gIhZeEUVRRTfV7VB4vyJB0PMPrLSkIal8JSEAAAAASUVORK5CYII=) no-repeat;
|
||||||
|
-webkit-background-size:100%;
|
||||||
|
-moz-background-size:100%;
|
||||||
|
background-size:100%;
|
||||||
content:'';
|
content:'';
|
||||||
opacity:0.5;
|
opacity:0.5;
|
||||||
-webkit-transition:opacity 0.3s linear;
|
-webkit-transition:opacity 0.3s linear;
|
||||||
|
@ -52,14 +59,11 @@ A {
|
||||||
}
|
}
|
||||||
.slide:before {
|
.slide:before {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:-12px;
|
top:-1em;
|
||||||
z-index:2;
|
z-index:2;
|
||||||
right:45px;
|
right:3em;
|
||||||
width:25px;
|
width:2em;
|
||||||
height:75px;
|
height:6em;
|
||||||
-webkit-border-radius:2px 2px 0 0;
|
|
||||||
-moz-border-radius:2px 2px 0 0;
|
|
||||||
border-radius:2px 2px 0 0;
|
|
||||||
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;
|
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%;
|
-webkit-background-size:100%;
|
||||||
-moz-background-size:100%;
|
-moz-background-size:100%;
|
||||||
|
@ -69,12 +73,12 @@ A {
|
||||||
|
|
||||||
/* Article */
|
/* Article */
|
||||||
.slide ARTICLE {
|
.slide ARTICLE {
|
||||||
padding:30px 45px 15px 60px;
|
padding:2em 3em 1em 4em;
|
||||||
line-height:1.7;
|
line-height:1.7;
|
||||||
}
|
}
|
||||||
.slide ARTICLE:after {
|
.slide ARTICLE:after {
|
||||||
display:block;
|
display:block;
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
color:#AAA;
|
color:#AAA;
|
||||||
counter-increment:paging;
|
counter-increment:paging;
|
||||||
content:counter(paging, decimal-leading-zero);
|
content:counter(paging, decimal-leading-zero);
|
||||||
|
@ -83,12 +87,12 @@ A {
|
||||||
/* Elements */
|
/* Elements */
|
||||||
.slide ARTICLE H1,
|
.slide ARTICLE H1,
|
||||||
.slide ARTICLE H2 {
|
.slide ARTICLE H2 {
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
color:#666;
|
color:#666;
|
||||||
font:bold 35px/1.2 'PT Sans Narrow', sans-serif;
|
font:bold 2.5em/1.2 'PT Sans Narrow', sans-serif;
|
||||||
}
|
}
|
||||||
.slide ARTICLE P {
|
.slide ARTICLE P {
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
}
|
}
|
||||||
.slide ARTICLE P.note {
|
.slide ARTICLE P.note {
|
||||||
color:#888;
|
color:#888;
|
||||||
|
@ -116,10 +120,10 @@ A {
|
||||||
}
|
}
|
||||||
.slide ARTICLE KBD,
|
.slide ARTICLE KBD,
|
||||||
.slide ARTICLE CODE {
|
.slide ARTICLE CODE {
|
||||||
padding:1px 4px;
|
padding:0.1em 0.3em;
|
||||||
-webkit-border-radius:4px;
|
-webkit-border-radius:0.3em;
|
||||||
-moz-border-radius:4px;
|
-moz-border-radius:0.3em;
|
||||||
border-radius:4px;
|
border-radius:0.3em;
|
||||||
background:#EEE;
|
background:#EEE;
|
||||||
font-family:Consolas, 'Droid Sans Mono', monospace;
|
font-family:Consolas, 'Droid Sans Mono', monospace;
|
||||||
}
|
}
|
||||||
|
@ -130,15 +134,15 @@ A {
|
||||||
}
|
}
|
||||||
.slide ARTICLE BLOCKQUOTE:before {
|
.slide ARTICLE BLOCKQUOTE:before {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
margin:-8px 0 0 -45px;
|
margin:-0.1em 0 0 -0.5em;
|
||||||
color:#BBB;
|
color:#BBB;
|
||||||
line-height:1;
|
line-height:1;
|
||||||
font-size:100px;
|
font-size:6.5em;
|
||||||
content:'\201C';
|
content:'\201C';
|
||||||
}
|
}
|
||||||
.slide ARTICLE BLOCKQUOTE:after {
|
.slide ARTICLE BLOCKQUOTE:after {
|
||||||
display:block;
|
display:block;
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
color:#444;
|
color:#444;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
content:attr(cite);
|
content:attr(cite);
|
||||||
|
@ -147,31 +151,32 @@ A {
|
||||||
/* Lists */
|
/* Lists */
|
||||||
.slide ARTICLE OL,
|
.slide ARTICLE OL,
|
||||||
.slide ARTICLE UL {
|
.slide ARTICLE UL {
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
counter-reset:list;
|
counter-reset:list;
|
||||||
}
|
}
|
||||||
.slide ARTICLE OL LI:before,
|
.slide ARTICLE OL LI:before,
|
||||||
.slide ARTICLE UL LI:before {
|
.slide ARTICLE UL LI:before {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
margin-left:-60px;
|
|
||||||
width:50px;
|
|
||||||
color:#AAA;
|
color:#AAA;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
.slide ARTICLE UL LI:before {
|
.slide ARTICLE UL LI:before {
|
||||||
margin-top:2px;
|
margin-left:-2.7em;
|
||||||
|
width:2em;
|
||||||
line-height:1;
|
line-height:1;
|
||||||
font-size:20px;
|
font-size:1.5em;
|
||||||
content:'\2022';
|
content:'\2022';
|
||||||
}
|
}
|
||||||
.slide ARTICLE OL LI:before {
|
.slide ARTICLE OL LI:before {
|
||||||
|
margin-left:-4em;
|
||||||
|
width:3em;
|
||||||
counter-increment:list;
|
counter-increment:list;
|
||||||
content:counter(list)'\002E';
|
content:counter(list)'\002E';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Code */
|
/* Code */
|
||||||
.slide ARTICLE PRE {
|
.slide ARTICLE PRE {
|
||||||
margin:0 0 15px;
|
margin:0 0 1em;
|
||||||
counter-reset:code;
|
counter-reset:code;
|
||||||
white-space:normal;
|
white-space:normal;
|
||||||
}
|
}
|
||||||
|
@ -183,8 +188,8 @@ A {
|
||||||
}
|
}
|
||||||
.slide ARTICLE PRE CODE:before {
|
.slide ARTICLE PRE CODE:before {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
margin:0 0 0 -60px;
|
margin:0 0 0 -4em;
|
||||||
width:53px;
|
width:3.2em;
|
||||||
color:#BBB;
|
color:#BBB;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
counter-increment:code;
|
counter-increment:code;
|
||||||
|
@ -192,10 +197,10 @@ A {
|
||||||
}
|
}
|
||||||
.slide ARTICLE PRE EM,
|
.slide ARTICLE PRE EM,
|
||||||
.slide ARTICLE PRE STRONG {
|
.slide ARTICLE PRE STRONG {
|
||||||
padding:1px 4px;
|
padding:0.1em 0.3em;
|
||||||
-webkit-border-radius:4px;
|
-webkit-border-radius:0.3em;
|
||||||
-moz-border-radius:4px;
|
-moz-border-radius:0.3em;
|
||||||
border-radius:4px;
|
border-radius:0.3em;
|
||||||
}
|
}
|
||||||
.slide ARTICLE PRE EM {
|
.slide ARTICLE PRE EM {
|
||||||
background:#FAFAA2;
|
background:#FAFAA2;
|
||||||
|
@ -211,14 +216,13 @@ A {
|
||||||
/* Cover
|
/* Cover
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.slide.cover {
|
.slide.cover {
|
||||||
min-height:488px;
|
|
||||||
}
|
}
|
||||||
.slide.cover:before {
|
.slide.cover:before {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:0;
|
top:0;
|
||||||
right:45px;
|
right:3em;
|
||||||
z-index:2;
|
z-index:2;
|
||||||
width:25px;
|
width:2em;
|
||||||
height:100%;
|
height:100%;
|
||||||
background:#000;
|
background:#000;
|
||||||
content:'';
|
content:'';
|
||||||
|
@ -240,8 +244,8 @@ A {
|
||||||
}
|
}
|
||||||
.slide.back ARTICLE:after {
|
.slide.back ARTICLE:after {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom:15px;
|
bottom:1em;
|
||||||
left:60px;
|
left:4em;
|
||||||
}
|
}
|
||||||
.slide.back IMG {
|
.slide.back IMG {
|
||||||
display:block;
|
display:block;
|
||||||
|
@ -256,9 +260,9 @@ A {
|
||||||
content:'';
|
content:'';
|
||||||
}
|
}
|
||||||
.slide.shout ARTICLE H2 {
|
.slide.shout ARTICLE H2 {
|
||||||
padding:30px 0;
|
padding:0.5em 0 0;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
font-size:60px;
|
font-size:4em;
|
||||||
}
|
}
|
||||||
.slide.shout ARTICLE A {
|
.slide.shout ARTICLE A {
|
||||||
margin:0;
|
margin:0;
|
||||||
|
|
Loading…
Reference in New Issue