custom.css 4.9 KB

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