header.html 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <style>
  2. * {
  3. box-sizing: border-box;
  4. }
  5. body {
  6. padding: 0 %padding_h%px;
  7. margin:0 0 0 0;
  8. color: #%textcol%;
  9. width: %width%px;
  10. background: #%bg%;
  11. font: 16px '%font%'
  12. }
  13. .fontsmall {
  14. font-size: 12px;
  15. }
  16. .fontlarge {
  17. font-size: 20px;
  18. }
  19. .localtime {
  20. font-weight: bold;
  21. opacity: 0.5;
  22. text-align:right;
  23. color:#%linecol%;
  24. }
  25. /* horizontal line */
  26. hr {
  27. height:2px;
  28. border-width:0;
  29. background: #%linecol%;
  30. opacity: 0.5;
  31. margin:5px 0;
  32. }
  33. div.wrapper > * {
  34. float:left;
  35. }
  36. .header {
  37. font-weight: bold;
  38. padding: %padding_h%px 0;
  39. }
  40. /* Column# */
  41. .c1,.c2,.c3,.c4 {
  42. padding-right: %padding_h%px;
  43. }
  44. .c1 img {
  45. width: %img_size_fc%px;
  46. height: %img_size_fc%px;
  47. }
  48. .c2 {
  49. width: 100px;
  50. }
  51. .c4 {
  52. width: 55px;
  53. }
  54. .c3,.c5 {
  55. width:60px;
  56. }
  57. .c5 {
  58. }
  59. /*------------CLEARFIX!----------------*/
  60. .wrapper:before,.wrapper:after {
  61. content: " ";
  62. display: table;
  63. }
  64. .wrapper:after {
  65. clear: both;
  66. }
  67. .wrapper {
  68. *zoom: 1;
  69. }
  70. </style>
  71. <body>
  72. <div class="header">%name%</div>