Unsupported PHP app for analysing and displaying stats for Team Fortress 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. body {
  2. margin: 0px;
  3. padding: 0px;
  4. background-color: #262324;
  5. font-family: "DejaVu Sans", sans-serif;
  6. }
  7. h1 {
  8. margin: 0px;
  9. padding: 5px 0px 5px 45px;
  10. color: #9d5321;
  11. background: url('TF2.png') no-repeat 5px center;
  12. border-bottom: 4px solid #9d5321;
  13. }
  14. h2 {
  15. margin-bottom: 0px;
  16. }
  17. h2 img {
  18. vertical-align: middle;
  19. }
  20. h3 {
  21. border-bottom: 2px dotted #9d5321;
  22. font-variant: small-caps;
  23. }
  24. h3.extra {
  25. padding-top: 15px;
  26. }
  27. div.left h3 {
  28. clear: left;
  29. }
  30. div#menu {
  31. position: absolute;
  32. top: 5px;
  33. right: 5px;
  34. }
  35. div#menu ul {
  36. list-style-type: none;
  37. margin: 0px;
  38. padding: 0px;
  39. }
  40. div#menu ul li {
  41. display: inline-block;
  42. display: -moz-inline-stack;
  43. padding: 0px 10px 0px 15px;
  44. border-left: 1px solid #9d5321;
  45. margin: 0px;
  46. }
  47. div#menu ul li a:active, div#menu ul li a:focus {
  48. outline-style: none;
  49. }
  50. div#menu ul li#first {
  51. border-left: 0px;
  52. }
  53. div#content {
  54. background-color: #FFF;
  55. padding: 5px 20px 20px 20px;
  56. }
  57. div.left {
  58. float: left;
  59. clear: left;
  60. width: 365px;
  61. }
  62. div.largeclass {
  63. color: #9d5321;
  64. text-align: center;
  65. padding: 5px 0px 0px 0px;
  66. font-weight: bold;
  67. }
  68. div.largeclass img {
  69. display: block;
  70. margin: 0px auto 5px auto;
  71. }
  72. div.map.large {
  73. width: 358px;
  74. height: 250px;
  75. margin: 0px 1px 2px 1px;
  76. }
  77. div.map {
  78. text-align: center;
  79. font-size: small;
  80. padding-bottom: 5px;
  81. color: #9d5321;
  82. background-color: #262324;
  83. float: left;
  84. }
  85. div.map.medium {
  86. width: 178px;
  87. height: 135px;
  88. margin: 0px 1px;
  89. }
  90. div#mappage div.map.medium {
  91. margin: 2px;
  92. }
  93. div.map img.map {
  94. width: 100%;
  95. }
  96. div.map img.deathmap {
  97. display: block;
  98. float: left;
  99. height: 16px;
  100. margin-left: 3px;
  101. margin-top: 2px;
  102. }
  103. div.row {
  104. margin: 0px;
  105. padding: 0px;
  106. }
  107. div.right {
  108. margin-left: 380px;
  109. }
  110. a img {
  111. border: 0px;
  112. }
  113. table {
  114. width: 100%;
  115. border-collapse: collapse;
  116. border: 1px solid #262324;
  117. }
  118. table th, table td {
  119. margin: 0px;
  120. padding: 3px;
  121. }
  122. table td.num {
  123. text-align: right;
  124. }
  125. table td.none {
  126. font-style: italic;
  127. text-align: center;
  128. }
  129. table th {
  130. border: 1px solid #262324;
  131. background-color: #9d5321;
  132. color: #fff;
  133. font-weight: normal;
  134. text-transform: uppercase;
  135. font-size: small;
  136. }
  137. table tr.highlight td {
  138. border-top: 1px solid #262324;
  139. border-bottom: 1px solid #262324;
  140. }
  141. table td {
  142. border: 0px;
  143. }
  144. table td.map, table td.weapon, table td.class {
  145. text-align: center;
  146. }
  147. table td img {
  148. vertical-align: middle;
  149. }
  150. table tr.even td {
  151. background-color: #eed1be;
  152. }
  153. ol li, ul li {
  154. margin: 5px 0px 10px 0px;
  155. }
  156. li img {
  157. vertical-align: middle;
  158. padding-right: 10px;
  159. }
  160. ul.stats li em {
  161. font-style: normal;
  162. font-weight: bold;
  163. }
  164. div.clear {
  165. clear: both;
  166. }
  167. div#footer {
  168. clear: both;
  169. text-align: center;
  170. font-size: small;
  171. font-variant: small-caps;
  172. margin: 0px 0px;
  173. padding: 5px 0px;
  174. border-top: 4px solid #9d5321;
  175. color: #9d5321;
  176. }
  177. div#footer a, div#menu a {
  178. color: #d06e2c;
  179. }
  180. div#footer a:hover, div#menu a:hover {
  181. color: #ff8736;
  182. }
  183. /** Events table **/
  184. table.events td.time {
  185. font-size: small;
  186. text-align: center;
  187. }
  188. /** Search form **/
  189. table.form, table.form th {
  190. border: 0px;
  191. }
  192. table.form th {
  193. text-align: right;
  194. background-color: transparent;
  195. color: black;
  196. padding-right: 10px;
  197. text-transform: none;
  198. }
  199. /** Graphs **/
  200. div.graphkey div {
  201. width: 10px;
  202. height: 10px;
  203. margin: 2px 5px 5px 20px;
  204. display: inline-block;
  205. display: -moz-inline-stack;
  206. background: url('graphbar.jpg') no-repeat;
  207. }
  208. div.graphkey p {
  209. display: inline;
  210. }
  211. div.graphkey div {
  212. border: 1px solid #262324;
  213. height: 10px;
  214. font-size: 1px;
  215. vertical-align: middle;
  216. }
  217. div.graphkey div.graphkey1 {
  218. background-position: 0px bottom;
  219. }
  220. div.graphkey div.graphkey2 {
  221. background-position: -28px bottom;
  222. }
  223. table.graph {
  224. table-layout: fixed;
  225. clear: right;
  226. }
  227. table.graph tr.key td {
  228. text-align: right;
  229. padding: 3px 10px 5px 0px;
  230. }
  231. table.graph tr.figures td {
  232. padding: 0px;
  233. vertical-align: middle;
  234. border: 1px solid #262324;
  235. text-align: center;
  236. font-size: small;
  237. }
  238. table.graph tr.bottom.key td {
  239. padding: 5px 10px 3px 0px;
  240. }
  241. table.graph tr.data td {
  242. padding: 10px 0px 0px 0px;
  243. vertical-align: bottom;
  244. background: #eed1be url('grid.png') repeat;
  245. background-position: center bottom;
  246. }
  247. table.graph tr.data.bottom td {
  248. padding: 0px 0px 10px 0px;
  249. vertical-align: top;
  250. background-position: center top;
  251. }
  252. table.graph tr.data td div {
  253. font-size: 0px;
  254. width: 28px;
  255. margin: 0px auto;
  256. background: url('graphbar.jpg') no-repeat;
  257. border: 1px solid #262324;
  258. border-bottom: 0px;
  259. }
  260. table.graph tr.data.bottom td div {
  261. background: url('graphbar2.jpg') no-repeat;
  262. border-bottom: 1px solid #262324;
  263. border-top: 0px;
  264. }
  265. table.graph tr.data td div.graphbar1 {
  266. background-position: 0px bottom;
  267. }
  268. table.graph tr.data td div.graphbar2 {
  269. background-position: -28px bottom;
  270. }
  271. table.graph tr.data.bottom td div.graphbar1 {
  272. background-position: 0px top;
  273. }
  274. table.graph tr.data.bottom td div.graphbar2 {
  275. background-position: -28px top;
  276. }
  277. /** Extra stuff **/
  278. ul.classlimits {
  279. list-style-type: none;
  280. margin-left: 0px;
  281. padding-left: 10px;
  282. }
  283. ul.classlimits li {
  284. height: 35px;
  285. }
  286. ul.classlimits li img {
  287. vertical-align: bottom;
  288. }
  289. /** Deathmaps **/
  290. div.deathmap {
  291. background: #000 url('dmbackground.jpg') repeat-x top;
  292. overflow: auto;
  293. text-align: center;
  294. }
  295. div.deathmap img {
  296. width: 720px;
  297. height: 493px;
  298. background-image: url('dmloading.png');
  299. }
  300. /** Block links **/
  301. a.blocklink {
  302. display: block;
  303. width: 100%;
  304. text-align: center;
  305. background-color: #eed1be;
  306. margin: 5px 0px;
  307. padding: 5px 0px;
  308. color: #9d5321;
  309. text-decoration: none;
  310. border: 1px solid #9d5321;
  311. }
  312. a.blocklink:hover {
  313. background-color: #fee1ce;
  314. }
  315. /** Awards **/
  316. h3.award img {
  317. vertical-align: bottom;
  318. padding-right: 10px;
  319. height: 32px;
  320. }
  321. h3.award span.info {
  322. font-weight: normal;
  323. }
  324. ul.awards, ul.awards li {
  325. margin-left: 0px;
  326. padding-left: 0px;
  327. }
  328. ul.awards li {
  329. padding-bottom: 15px;
  330. padding-left: 10px;
  331. list-style-type: none;
  332. }
  333. ul.awards strong {
  334. display: block;
  335. height: 24px;
  336. }
  337. ul.awards img {
  338. padding-right: 15px;
  339. height: 48px;
  340. float: left;
  341. clear: left;
  342. }
  343. /** Connect buttons **/
  344. td.connect img {
  345. padding: 0px 2px 0px 0px;
  346. }
  347. td.connect a {
  348. padding-right: 10px;
  349. }
  350. /** Updating **/
  351. #updating {
  352. text-align: center;
  353. margin: 10px 0px 5px 0px;
  354. background-color: #eed1be;
  355. border: 1px solid black;
  356. padding: 5px;
  357. }
  358. /** FAQ */
  359. dt {
  360. font-weight: bold;
  361. margin-bottom: 10px;
  362. }
  363. dd {
  364. margin-bottom: 10px;
  365. margin-left: 0px;
  366. }