custom.css 4.6 KB

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