news.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. body { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; }
  2. td { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; }
  3. .admin td { font-family:Verdana, Geneva, sans-serif; font-size:8.5pt; color:#000000; }
  4. .subtext td { font-family:Verdana, Geneva, sans-serif; font-size: 7pt; color:#828282; }
  5. input { font-family:monospace; font-size:10pt; }
  6. input[type=\"submit\"] { font-family:Verdana, Geneva, sans-serif; }
  7. textarea { font-family:monospace; font-size:10pt; }
  8. a:link { color:#000000; text-decoration:none; }
  9. a:visited { color:#828282; text-decoration:none; }
  10. .default { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#828282; }
  11. .title { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#828282; overflow:hidden; }
  12. .pagetop { font-family:Verdana, Geneva, sans-serif; font-size: 10pt; color:#222222; line-height:12px; }
  13. .comment { font-family:Verdana, Geneva, sans-serif; font-size: 9pt; }
  14. .hnname { margin-right: 5px; }
  15. #hnmain { min-width: 796px; }
  16. .title a { word-break: break-word; }
  17. .comment a:link, .comment a:visited { text-decoration: underline; }
  18. .noshow { display: none; }
  19. .nosee { visibility: hidden; pointer-events: none; cursor: default }
  20. .c00, .c00 a:link { color:#000000; }
  21. .pagetop a:visited { color:#000000;}
  22. .topsel a:link, .topsel a:visited { color:#ffffff; }
  23. .subtext a:link, .subtext a:visited { color:#828282; }
  24. .subtext a:hover { text-decoration:underline; }
  25. .default p { margin-top: 8px; margin-bottom: 0px; }
  26. .pagebreak {page-break-before:always}
  27. pre { overflow: auto; padding: 2px; white-space: pre-wrap; overflow-wrap:anywhere; }
  28. pre:hover { overflow:auto }
  29. .votearrow {
  30. width: 10px;
  31. height: 10px;
  32. border: 0px;
  33. margin: 3px 2px 6px;
  34. background: url("grayarrow.gif")
  35. no-repeat;
  36. }
  37. .votelinks.nosee div.votearrow.rotate180 {
  38. display: none;
  39. }
  40. table.padtab td { padding:0px 10px }
  41. @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
  42. .votearrow { background-size: 10px; background-image: url("grayarrow2x.gif"); }
  43. }
  44. .rotate180 {
  45. -webkit-transform: rotate(180deg); /* Chrome and other webkit browsers */
  46. -moz-transform: rotate(180deg); /* FF */
  47. -o-transform: rotate(180deg); /* Opera */
  48. -ms-transform: rotate(180deg); /* IE9 */
  49. transform: rotate(180deg); /* W3C complaint browsers */
  50. /* IE8 and below */
  51. -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand')";
  52. }
  53. /* mobile device */
  54. @media only screen
  55. and (min-width : 300px)
  56. and (max-width : 750px) {
  57. #hnmain { width: 100%; min-width: 0; }
  58. body { padding: 0; margin: 0; width: 100%; -webkit-text-size-adjust: none; }
  59. td { height: inherit !important; }
  60. .title, .comment { font-size: inherit; }
  61. span.pagetop { display: block; margin: 3px 5px; font-size: 12px; line-height: normal }
  62. span.pagetop b { display: block; font-size: 15px; }
  63. table.comment-tree .comment a { display: inline-block; max-width: 200px; overflow: hidden; white-space: nowrap;
  64. text-overflow: ellipsis; vertical-align:top; }
  65. img[src='s.gif'][width='40'] { width: 12px; }
  66. img[src='s.gif'][width='840'] { width: 252px; }
  67. .title { font-size: 11pt; line-height: 14pt; }
  68. .subtext { font-size: 9pt; }
  69. .itemlist { padding-right: 5px;}
  70. .votearrow { transform: scale(1.3,1.3); margin-right: 6px; }
  71. .votearrow.rotate180 {
  72. -webkit-transform: rotate(180deg) scale(1.3,1.3); /* Chrome and other webkit browsers */
  73. -moz-transform: rotate(180deg) scale(1.3,1.3); /* FF */
  74. -o-transform: rotate(180deg) scale(1.3,1.3); /* Opera */
  75. -ms-transform: rotate(180deg) scale(1.3,1.3); /* IE9 */
  76. transform: rotate(180deg) scale(1.3,1.3); /* W3C complaint browsers */
  77. }
  78. .votelinks { min-width: 18px; }
  79. .votelinks a { display: block; margin-bottom: 9px; }
  80. input[type='text'], input[type='number'], textarea { font-size: 16px; width: 90%; }
  81. }
  82. .comment { max-width: 1215px; overflow-wrap:anywhere; }
  83. @media only screen and (min-width : 300px) and (max-width : 389px) {
  84. .comment { max-width: 270px; overflow: hidden }
  85. }