Created
July 23, 2012 22:15
-
-
Save janpecha/3166584 to your computer and use it in GitHub Desktop.
Piratskenoviny.cz Better Style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url('typro.css'); | |
body { | |
border-top: 6px solid #222; | |
padding-bottom: 3em; | |
} | |
body * { | |
font-family: inherit !important; | |
font-size: inherit !important; | |
} | |
td, th, tr { | |
border: none; | |
} | |
table { | |
margin-bottom: 0; | |
} | |
/* header */ | |
body > center:first-child table { | |
position: relative !important; | |
margin-bottom: 0; | |
padding-bottom: 1em; | |
min-height: 65px; | |
} | |
/* header - left area */ | |
body > center:first-child > table td[align=right] { | |
position: relative !important; | |
background-position: center 5px; | |
} | |
/* header - left area - date info */ | |
body > center:first-child > table td[align=right] div:first-child { | |
position: absolute; | |
right: 0; | |
bottom: 1.6em; | |
/* top: -1.4em;*/ | |
/* width: 100%;*/ | |
display: block; | |
} | |
body > center:first-child > table td[align=right] div:first-child font { | |
color: #888 !important; | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
} | |
/* header - right area */ | |
body > center:first-child > table td[valign=bottom] { | |
vertical-align: middle; | |
} | |
/* header - right area - top links bar */ | |
body > center:first-child > table td[valign=bottom] > div:first-child { | |
} | |
/* header - right area - top links bar - icon line */ | |
body > center:first-child > table td[valign=bottom] > div:first-child:first-line { | |
/* background: #222;*/ | |
line-height: 3em; | |
vertical-align: bottom; | |
word-spacing: 0.3em; | |
} | |
body > center:first-child > table td[valign=bottom] > div:first-child a { | |
padding: 0.2em; | |
/* background: red !important;*/ | |
vertical-align: middle; | |
text-decoration: none; | |
} | |
/* header - right area - section name */ | |
body > center:first-child > table td[valign=bottom] > div:last-child { | |
display: inline; | |
padding: 0.6em 1.4em; | |
background: #000000 !important; | |
color: #fff !important; | |
font-size: 110% !important; | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
} | |
body > center:first-child > table td[valign=bottom] > div:last-child b { | |
font-weight: normal !important; | |
} | |
/* Google Translate Widget */ | |
#google_translate_element { | |
text-align: right; | |
font-size: 90% !important; | |
display: inline-block !important; | |
/* position: absolute;*/ | |
/* right: 0;*/ | |
} | |
body > center:first-child > table td[valign=bottom] > table td { | |
/* position: relative;*/ | |
text-align: right; | |
width: 100% !important; | |
} | |
/* Anketa */ | |
body form[name=poll] { | |
margin-bottom: 2em; | |
} | |
body form[name=poll] table { | |
color: #888 !important; | |
margin-top: 1em; | |
} | |
body form[name=poll] table td > br:first-child { | |
display: none; | |
} | |
/* Anketa - nadpis */ | |
body form[name=poll] font > u { | |
font-size: 180% !important; | |
/* font-family: "Trebuchet MS", "Geneva CE", "lucida", sans-serif !important;*/ | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
font-weight: bold !important; | |
color: #333 !important; | |
text-decoration: none !important; | |
vertical-align: top !important; | |
/* margin-top: -0.3em;*/ | |
line-height: 0.8em !important; | |
} | |
body form[name=poll] font > u:first-line { | |
} | |
body form[name=poll] b { | |
font-weight: normal !important; | |
color: #333 !important; | |
} | |
body form[name=poll] img[src="imgs/votebar.gif"] { | |
background: #366AB8 !important; | |
/* border-bottom: 2px solid #00255C;*/ | |
padding-top: 8px !important; | |
height: 0 !important; | |
display: inline-block !important; | |
overflow: hidden !important; | |
} | |
body form[name=poll] font[size="-3"] { | |
display: none !important; | |
} | |
body form[name=poll] font[color="#990000"] { | |
color: #888 !important; | |
} | |
/* Anketa - Submit button */ | |
body form[name=poll] input[type=submit] { | |
padding: 0.3em 1em; | |
} | |
body form[name=poll] div[align="center"] { | |
margin-top: 1em; | |
text-align: left !important; | |
} | |
/* Content */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child { | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
} | |
/* Content - Article Title */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child > font:first-child a { | |
color: #222 !important; | |
text-decoration: none !important; | |
font-size: 280% !important; | |
font-family: "Trebuchet MS", "Geneva CE", "lucida", sans-serif !important; | |
font-weight: bold !important; | |
letter-spacing: -2px; | |
} | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child > .addthis_toolbox + script + br, | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child > .addthis_toolbox + script + br + font + br, | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child center > font + br, | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child center + br, | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child center + font > br:first-child, | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child > font:first-child + br { | |
display: none; | |
} | |
/* Content - perex */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:first-child > .addthis_toolbox + script + br + font { | |
color: #555 !important; | |
margin-top: 1em; | |
display: block; | |
font-size: 110% !important; | |
} | |
/* Content area - right box */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child { | |
background: #fff !important; | |
vertical-align: top; | |
padding-top: 2em; | |
} | |
/* Content area - right box - New articles, etc. */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child { | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
} | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child center { | |
text-align: left !important; | |
color: #999 !important; | |
font-size: 90%; | |
line-height: 1.6em; | |
} | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child center > font { | |
font-weight: bold !important; | |
color: #777 !important; | |
font-family: "Trebuchet MS", "Geneva CE", "lucida", sans-serif !important; | |
font-size: 190% !important; | |
display: block; | |
} | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child table td { | |
vertical-align: top !important; | |
padding-bottom: 1em; | |
color: #fff !important; | |
position: relative; | |
} | |
/* comment icon */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child table td a[href^="http://www.piratskenoviny.cz/?disc="] { | |
position: absolute; | |
right: 0; | |
} | |
/* Content area - right box - date info */ | |
body > center:nth-child(7) > table > tbody > tr[valign=top] > td:last-child table:last-child table td font[color="#CC0000"] { | |
color: #888 !important; | |
} | |
/* Nejnovejsi zpravy (hlavni zprava) */ | |
body > center:nth-child(11) table td { | |
vertical-align: top; | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
} | |
/* Nejnovejsi zpravy (hlavni zprava) - text Nejnovejsi zpravy */ | |
body > center:nth-child(11) table td font[color="#A8A8A8"] { | |
font-size: 200% !important; | |
display: block; | |
font-family: "Trebuchet MS", "Geneva CE", "lucida", sans-serif !important; | |
color: #888 !important; | |
margin-bottom: 0.2em; | |
font-weight: bold; | |
} | |
body > center:nth-child(11) table td font[color="#CC0000"] { | |
color: #666 !important; | |
} | |
/* Nejnovejsi zpravy (hlavni zprava) - odkaz na clanek */ | |
body > center:nth-child(11) table td u { | |
text-decoration: none !important; | |
} | |
body > center:nth-child(11) table td u + br { | |
display: none; | |
} | |
body > center:nth-child(11) table td a[href^="http://www.piratskenoviny.cz/?c_id="]:first-child { | |
font-size: 200% !important; | |
font-weight: bold; | |
text-decoration: none !important; | |
/* color: #222 !important;*/ | |
} | |
/* Nejnovejsi zpravy - 3 male */ | |
body > center:last-child > table { | |
font-family: Arial, Verdana, Helvetica, sans-serif !important; | |
} | |
body > center:last-child > table table { | |
width: 100% !important; | |
} | |
body > center:last-child > table table td { | |
padding-right: 1.4em !important; | |
} | |
body > center:last-child > table font a[href^="http://www.piratskenoviny.cz/?c_id="] { | |
text-decoration: none !important; | |
margin-top: 0.3em; | |
display: block; | |
font-weight: bold; | |
font-size: 120% !important; | |
} | |
body > center:last-child > table font + br { | |
display: none; | |
} | |
body > center:last-child > table font[color="#CC0000"] { | |
color: #666 !important; | |
} | |
/* footer */ | |
body > center:last-child { | |
/* background: red !important;*/ | |
} | |
/* footer - epilog */ | |
body > center:last-child > center:last-child { | |
} | |
body > center:last-child > center:last-child table { | |
color: #888 !important; | |
font-size: 90% !important; | |
} | |
/* footer - epilog - boxes */ | |
body > center:last-child > center:last-child table td { | |
height: auto !important; | |
vertical-align: top !important; | |
} | |
/* footer - menu - icon align, header - menu - icon align */ | |
body > center:last-child > center:nth-child(5) table td table td:first-child, | |
body > center:nth-child(4) table td table td:first-child { | |
vertical-align: middle !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 20120723150741 */@media | |
all{html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}}@media | |
all{body{line-height:1.6;font-size:90%;font-family:'Arial CE','Helvetica CE',Arial,Verdana,Helvetica,sans-serif;text-align:left}address,dl,p,pre,ol,table,ul{margin-bottom:1em}ul | |
ul,ol | |
ol,ul | |
ol,ol | |
ul{margin-bottom:0em}ul,ol,dd{margin-left:2em}ul{list-style-type:disc}ol{list-style-type:decimal}blockquote{margin-bottom:2em;margin-top:2em}pre{overflow:auto}sub,sup,small{font-size:smaller}big{font-size:larger}sub{vertical-align:sub}sup{vertical-align:super}code,kbd,pre,samp,tt,var,listing{font-family:'Courier CE','Courier New',Courier,monospace}pre{-o-tab-size:4;-moz-tab-size:4;tab-size:4}address,blockquote,cite,dfn,em,i,ins,q,var{font-style:italic}b,kbd,strong,th{font-weight:bold}a,u{text-decoration:underline}del,s,strike{text-decoration:line-through}ins{text-decoration:none}h1,h2,h3,h4,h5,h6{font-family:"Trebuchet | |
MS","Geneva | |
CE","lucida",sans-serif;font-weight:bold;margin-bottom:0.15em;line-height:1.4}h1{font-size:250%}h2{font-size:210%}h3{font-size:180%}h4{font-size:140%}h5{font-size:120%}h6{font-size:100%}td,th,caption{padding:0.2em | |
0.6em;text-align:left}th{text-align:center}caption{text-align:center}form | |
td,form | |
tr{border:none}fieldset{border:1px | |
solid | |
#bbb;margin-bottom:1em;padding:0.6em | |
1em | |
1em}legend{margin-left:0.2em;padding:0 | |
0.4em}hr{background:#eee;height:1px;border-width:0;border-top:1px | |
solid | |
#aaa}center{text-align:center}}@media | |
all{p{text-indent:2em}}@media | |
print{body{font-family:Georgia,'Times New CE','Times CE','Times New Roman',Times,serif}a{text-decoration:underline}}@media | |
all{pre{padding:0.6em | |
0.7em;background-color:#fafafa;border:1px | |
dashed | |
#d0d0d0;overflow:auto}code{background-color:#e7e7e7;padding:1px | |
4px;margin-left:1px;margin-right:1px}pre,code{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre | |
code{background-color:transparent;padding:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}table{border-collapse:collapse;margin-left:auto;margin-right:auto}th{background:#eee}td,th{border:1px | |
solid | |
#ddd}form | |
th,form | |
td,form | |
tr{border:0;background:transparent}form | |
th{text-align:right}caption{font-style:italic}blockquote{font-family:Georgia,'Times New CE','Times CE','Times New Roman',Times,serif;border-left:4px | |
solid | |
#e6e6e6;padding:1em | |
1.3em | |
0.1em;background-color:#fafafa}acronym[title],abbr[title]{border-bottom:1px | |
dotted | |
gray}h1,h2,h3,h4,h5,h6{color:#333}.noborder | |
td,.noborder | |
th,.no-border | |
td,.no-border | |
th{border-width:0}}@media | |
print{pre,code{background:transparent;border:none}code{padding-left:2px;padding-right:2px}img{border-width:0}}@media | |
all{h1+p,h2+p,h3+p,h4+p,h5+p,h6+p,ul+p,ol+p,dl+p,pre+p,blockquote>p:first-child,td>p:first-child,th>p:first-child,.grid-col>p:first-child,.grid-rcol>p:first-child,.grid-fluid>p:first-child,.grid-cell>p:first-child{text-indent:0}}@media | |
all{body{font-family:Verdana,'Arial CE','Helvetica CE',Arial,Helvetica,sans-serif}}@media | |
all{.blind{position:absolute;left:-4000px;top:-4000px;width:1px;height:1px;overflow:hidden}}@media | |
all{a:link{color:#0044aa}a:visited{color:#00255c}a:hover{color:#d22}}@media | |
all{.figure | |
img+p,figure | |
img+p,figure | |
img+figcaption{text-indent:0}.figure,figure{margin-left:auto;margin-right:auto;margin-bottom:1em;padding:0.4em}.figure | |
img,figure | |
img{margin-left:auto;margin-right:auto;margin-bottom:0.5em;display:block;max-width:100%}.figure.left,figure.left{margin-left:0;margin-right:1em}.figure.right,figure.right{margin-left:1em;margin-right:0}.figure | |
p:last-child,figure | |
p:last-child,figure | |
figcaption:last-child{margin-bottom:0}h1,h2,h3,h4,h5,h6{clear:both}}@media | |
all{.left{float:left}.right{float:right}.center{margin-left:auto;margin-right:auto}img.left,img.right{margin-top:0.5em}img.left{margin-right:1em}img.right{margin-left:1em}}@media | |
all{p{margin-bottom:0}p+table,p+dl,p+ol,p+ul,p+ol,p+pre,p+address{margin-top:1em}p+h2,p+h3,p+h4,p+h5,p+h6{margin-top:0.5em}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tvořeno a testováno v Opeře 12.00 final (Linux), určeno pro lepší zobrazení článku.
Dále přibližně správné zobrazení v:
Několik chyb v zobrazení v:
Netestováno v:
Nejprve je nutné přilinkovat soubor
typro.css
a až poté souborstyle.css