Personal website https://benkurtovic.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.css 3.6 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. @import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700|Oxygen:700);
  2. body {
  3. margin: 0;
  4. background-color: white;
  5. color: black;
  6. font-family: "Open Sans", sans-serif;
  7. font-size: 16px;
  8. }
  9. a:link, a:visited { color: #3d7751; text-decoration: none; }
  10. a:hover { color: #041; text-decoration: underline; }
  11. a:active { color: #403; text-decoration: underline; }
  12. a.underlined:link, a.underlined:visited { text-decoration: underline; }
  13. a.underlined:hover, a.underlined:active { text-decoration: none; }
  14. #banner {
  15. height: 94px;
  16. line-height: 94px;
  17. background-color: black;
  18. border-top: 4px solid #3d7751;
  19. text-align: center;
  20. }
  21. #banner a {
  22. color: white;
  23. text-decoration: none;
  24. }
  25. #banner img {
  26. display: inline;
  27. height: 92px;
  28. padding: 2px 0.5em 0 0;
  29. vertical-align: top;
  30. }
  31. #banner h1 {
  32. display: inline;
  33. font-size: 2em;
  34. font-family: "Oxygen", sans-serif;
  35. text-align: center;
  36. }
  37. #container {
  38. margin: 1.5em auto 0;
  39. max-width: 1000px;
  40. padding: 0 40px 0 40px;
  41. }
  42. #container p {
  43. line-height: 1.25em;
  44. }
  45. p#bio {
  46. line-height: 1.5em;
  47. }
  48. #content p, #content ol, #content li {
  49. line-height: 1.75em;
  50. }
  51. #links {
  52. text-align: center;
  53. }
  54. #links div {
  55. display: inline-block;
  56. }
  57. @media (min-width: 800px) {
  58. #links div {
  59. width: 16%;
  60. }
  61. #links div:not(:first-child) {
  62. border-left: 1px solid #CCC;
  63. }
  64. }
  65. @media (max-width: 799px) {
  66. #links div {
  67. width: 32%;
  68. }
  69. #links div:nth-child(-n+3) {
  70. margin-bottom: 1em;
  71. }
  72. #links div:not(:nth-child(3n+1)) {
  73. border-left: 1px solid #CCC;
  74. }
  75. }
  76. #work {
  77. width: 100%;
  78. border-spacing: 0;
  79. }
  80. #work td {
  81. width: 50%;
  82. vertical-align: top;
  83. }
  84. #work td:not(:first-child) {
  85. padding-left: 0.75em;
  86. }
  87. #work td:not(:last-child) {
  88. padding-right: 0.75em;
  89. }
  90. .work-list {
  91. padding-left: 1em;
  92. list-style-type: none;
  93. }
  94. .work-list li {
  95. margin-bottom: 1.25em;
  96. position: relative;
  97. }
  98. .work-list li:before {
  99. content: "\27a4";
  100. position: absolute;
  101. left: -2em;
  102. line-height: 3em;
  103. font-size: 0.5em;
  104. }
  105. .subtitle {
  106. font-size: 14px;
  107. }
  108. #tags {
  109. line-height: 2em;
  110. margin: -0.375em 0;
  111. }
  112. .tag {
  113. background-color: #f8f8f8;
  114. border: 1px solid #e8e8e8;
  115. color: #888;
  116. cursor: pointer;
  117. margin: 0 3px;
  118. padding: 1px 3px;
  119. }
  120. .tag-selected {
  121. background-color: #ddd;
  122. color: black;
  123. }
  124. .draft {
  125. color: red;
  126. }
  127. #post-info {
  128. list-style-type: none;
  129. margin: 0;
  130. padding-left: 0;
  131. }
  132. #post-info li {
  133. line-height: 1em;
  134. margin-bottom: 0.5em;
  135. }
  136. #post-info li:last-child {
  137. margin-bottom: 0;
  138. }
  139. #post-info span {
  140. color: #777;
  141. }
  142. .post-tag {
  143. background-color: #f8f8f8;
  144. border: 1px solid #e8e8e8;
  145. margin: 0 3px;
  146. padding: 1px 3px;
  147. }
  148. .post-tag:link, .post-tag:visited {
  149. color: black;
  150. }
  151. pre {
  152. white-space: pre-wrap;
  153. }
  154. code {
  155. background-color: #f8f8f8;
  156. border: 1px solid #e8e8e8;
  157. padding: 0 3px;
  158. }
  159. pre code {
  160. border: 0;
  161. padding: 0;
  162. }
  163. .highlight, .highlighttable {
  164. background-color: #f8f8f8;
  165. border: 1px solid #e8e8e8;
  166. font-size: 14px;
  167. line-height: 1.35em;
  168. margin: 1em 0;
  169. padding-left: 16px;
  170. }
  171. .highlighttable {
  172. width: 100%;
  173. }
  174. .highlighttable .highlight {
  175. border: 0;
  176. }
  177. .linenos {
  178. color: #888;
  179. }
  180. .para-link {
  181. margin-left: 0.5em;
  182. padding: 0 0.25em 0 0.3em;
  183. }
  184. .para-link:link, .para-link:visited {
  185. color: #A00;
  186. text-decoration: none;
  187. }
  188. .para-link:hover, .para-link:active {
  189. background-color: #A00;
  190. color: white;
  191. }
  192. #footer {
  193. margin-bottom: 1.5em;
  194. color: #444;
  195. font-size: 85%;
  196. text-align: center;
  197. }