custom.css 3.8 KB

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