fpc/packages/fcl-css/tests/css/news.css
Michaël Van Canneyt 5b3953dde3 fcl-css package
2022-03-26 13:26:36 +01:00

108 lines
4.1 KiB
CSS

body { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; }
td { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; }
.admin td { font-family:Verdana, Geneva, sans-serif; font-size:8.5pt; color:#000000; }
.subtext td { font-family:Verdana, Geneva, sans-serif; font-size: 7pt; color:#828282; }
input { font-family:monospace; font-size:10pt; }
input[type=\"submit\"] { font-family:Verdana, Geneva, sans-serif; }
textarea { font-family:monospace; font-size:10pt; }
a:link { color:#000000; text-decoration:none; }
a:visited { color:#828282; text-decoration:none; }
.default { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#828282; }
.title { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#828282; overflow:hidden; }
.pagetop { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#222222; line-height:12px; }
.comment { font-family:Verdana, Geneva, sans-serif; font-size: 9pt; }
.hnname { margin-right: 5px; }
#hnmain { min-width: 796px; }
.title a { word-break: break-word; }
.comment a:link, .comment a:visited { text-decoration: underline; }
.noshow { display: none; }
.nosee { visibility: hidden; pointer-events: none; cursor: default }
.c00, .c00 a:link { color:#000000; }
.pagetop a:visited { color:#000000;}
.topsel a:link, .topsel a:visited { color:#ffffff; }
.subtext a:link, .subtext a:visited { color:#828282; }
.subtext a:hover { text-decoration:underline; }
.default p { margin-top: 8px; margin-bottom: 0px; }
.pagebreak {page-break-before:always}
pre { overflow: auto; padding: 2px; white-space: pre-wrap; overflow-wrap:anywhere; }
pre:hover { overflow:auto }
.votearrow {
width: 10px;
height: 10px;
border: 0px;
margin: 3px 2px 6px;
background: url("grayarrow.gif")
no-repeat;
}
.votelinks.nosee div.votearrow.rotate180 {
display: none;
}
table.padtab td { padding:0px 10px }
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
.votearrow { background-size: 10px; background-image: url("grayarrow2x.gif"); }
}
.rotate180 {
-webkit-transform: rotate(180deg); /* Chrome and other webkit browsers */
-moz-transform: rotate(180deg); /* FF */
-o-transform: rotate(180deg); /* Opera */
-ms-transform: rotate(180deg); /* IE9 */
transform: rotate(180deg); /* W3C complaint browsers */
/* IE8 and below */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand')";
}
/* mobile device */
@media only screen
and (min-width : 300px)
and (max-width : 750px) {
#hnmain { width: 100%; min-width: 0; }
body { padding: 0; margin: 0; width: 100%; -webkit-text-size-adjust: none; }
td { height: inherit !important; }
.title, .comment { font-size: inherit; }
span.pagetop { display: block; margin: 3px 5px; font-size: 12px; line-height: normal }
span.pagetop b { display: block; font-size: 15px; }
table.comment-tree .comment a { display: inline-block; max-width: 200px; overflow: hidden; white-space: nowrap;
text-overflow: ellipsis; vertical-align:top; }
img[src='s.gif'][width='40'] { width: 12px; }
img[src='s.gif'][width='840'] { width: 252px; }
.title { font-size: 11pt; line-height: 14pt; }
.subtext { font-size: 9pt; }
.itemlist { padding-right: 5px;}
.votearrow { transform: scale(1.3,1.3); margin-right: 6px; }
.votearrow.rotate180 {
-webkit-transform: rotate(180deg) scale(1.3,1.3); /* Chrome and other webkit browsers */
-moz-transform: rotate(180deg) scale(1.3,1.3); /* FF */
-o-transform: rotate(180deg) scale(1.3,1.3); /* Opera */
-ms-transform: rotate(180deg) scale(1.3,1.3); /* IE9 */
transform: rotate(180deg) scale(1.3,1.3); /* W3C complaint browsers */
}
.votelinks { min-width: 18px; }
.votelinks a { display: block; margin-bottom: 9px; }
input[type='text'], input[type='number'], textarea { font-size: 16px; width: 90%; }
}
.comment { max-width: 1215px; overflow-wrap:anywhere; }
@media only screen and (min-width : 300px) and (max-width : 389px) {
.comment { max-width: 270px; overflow: hidden }
}