custom.css 4.5 KB

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