custom.css 5.0 KB

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