custom.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /*
  2. _______________________________
  3. Desktop version layout - place your custom code here */
  4. body {
  5. }
  6. .pageBackground {
  7. background-image:url(images/woodTexture.jpg);
  8. background-repeat:repeat;
  9. }
  10. .topNavBar {
  11. background-color: black;
  12. color: #999;
  13. font-family: Consolas,monospace, "Courier New";
  14. font-size: 0.8em;
  15. text-align:right;
  16. line-height:1.6em;
  17. }
  18. .pageForeground {
  19. background-color: whiteSmoke;
  20. border-radius:7px;
  21. moz-border-radius:7px;
  22. background-image:url(images/foregroundTexture.png);
  23. }
  24. .siteBanner {
  25. background-image:url(images/oncrashrebootbanner.jpg);
  26. background-repeat:no-repeat;
  27. background-size:cover;
  28. display:block;
  29. padding-left: 2em;
  30. padding-top: 2em;
  31. padding-bottom: 2em;
  32. }
  33. a.siteBanner:hover{
  34. text-decoration:none;
  35. }
  36. #siteTitle{
  37. font-family:Consolas, monospace, "Courier New";
  38. font-size:3.0em;
  39. margin:0 0 0 0;
  40. }
  41. #siteTagline {
  42. font-family:"Palatino Linotype", "MS Serif", "Times New Roman";
  43. color:black;
  44. font-style: italic;
  45. margin: 0em 0px 0em 0px;
  46. font-size: 1.5em;
  47. font-weight: normal;
  48. }
  49. .hmenu {
  50. text-align: center;
  51. font-family: Georgia, "DejaVu Serif", Times, "Times New Roman", serif;
  52. font-size: 1.1em;
  53. background: url('images/noise.png'),linear-gradient(#E0E0E0, #CCC, #B0B0B0);
  54. background: url('images/noise.png'),-webkit-linear-gradient(#E0E0E0, #CCC, #B0B0B0);
  55. background: url('images/noise.png'),-moz-linear-gradient(#E0E0E0, #CCC, #B0B0B0);
  56. border-top: 1px solid #F2F2F2;
  57. border-bottom: 1px solid #8C8C8C;
  58. padding-top: .35em;
  59. padding-bottom: .35em;
  60. text-shadow: #EBEBEB 0 1px;
  61. text-decoration: none;
  62. color:#444;
  63. }
  64. .articleTitle {
  65. border-top: 1px solid #CCC;
  66. border-bottom: 1px solid #CCC;
  67. font-size: 3.2em;
  68. color: darkRed;
  69. font-weight: normal;
  70. font-family: Georgia, "DejaVu Serif", Times, "Times New Roman", serif;
  71. line-height: 1.5;
  72. margin-left:0.5em;
  73. margin-bottom: 1.0em;
  74. }
  75. .publicationDate {
  76. margin-top: -4em;
  77. margin-bottom: 1.0em;
  78. margin-left: 9.0em;
  79. display: block;
  80. background-color: whiteSmoke;
  81. background-image: url(images/foregroundTexture.png);
  82. margin-right: 0em;
  83. width: 12.2em;
  84. padding: 0em 0.5em 0em 0.5em;
  85. font-family: georgia;
  86. font-size: 1.0em;
  87. color: dimGray;
  88. font-style: normal;
  89. }
  90. .post {
  91. font-family: Georgia, "DejaVu Serif", Times, "Times New Roman", serif;
  92. font-size: 1.0em;
  93. line-height: 1.5em;
  94. color: #111;
  95. text-align: justify;
  96. }
  97. /*
  98. _______________________________
  99. Mobile version - preset code from cssgrid.net */
  100. @media handheld, only screen and (max-width: 767px) {
  101. .topNavBar {
  102. text-align:center;
  103. }
  104. .pageForeground {
  105. border-radius:0px;
  106. moz-border-radius:0px;
  107. }
  108. .siteBanner {
  109. margin-top:-16px;
  110. padding-left: 0.2em;
  111. padding-right: 0.2em;
  112. background-position: bottom center;
  113. }
  114. #siteTitle{
  115. font-size:2.3em;
  116. padding-left:0px;
  117. }
  118. .hmenu {
  119. margin-top:-11px;
  120. }
  121. .publicationDate {
  122. margin-top:-2.5em;
  123. margin-left:5em;
  124. }
  125. .examplecontainer {}
  126. body {}
  127. }
  128. /*
  129. _______________________________
  130. Provide higher res assets for iPhone 4 - preset code from cssgrid.net */
  131. @media only screen and (-webkit-min-device-pixel-ratio: 2) {
  132. /* An example of how to override an image with one twice the size for iPhone 4. Specify the original pixel size with background-size.
  133. .download {
  134. background: url(../img/downarrow@2x.png) no-repeat;
  135. background-size: 27px 28px;
  136. }
  137. */
  138. }
  139. /* from http://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */
  140. /* Smartphones (portrait and landscape) ----------- */
  141. @media only screen
  142. and (min-device-width : 320px)
  143. and (max-device-width : 480px) {
  144. /* Styles */
  145. }
  146. /* Smartphones (landscape) ----------- */
  147. @media only screen
  148. and (min-width : 321px) {
  149. /* Styles */
  150. }
  151. /* Smartphones (portrait) ----------- */
  152. @media handheld, only screen and (max-width : 320px) {
  153. /* Styles */
  154. #siteTitle{
  155. font-size:1.8em;
  156. padding-left:0px;
  157. }
  158. #siteTagline {
  159. font-size:0.9em;
  160. }
  161. .publicationDate {
  162. margin-top:-2.5em;
  163. margin-left:2em;
  164. }
  165. }