Personal website https://benkurtovic.com/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

main.css 3.8 KiB

10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
10 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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 5%;
  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. .incomplete, .abandoned {
  109. color: #777;
  110. }
  111. #tags {
  112. line-height: 2em;
  113. margin: -0.375em 0;
  114. }
  115. .tag {
  116. background-color: #f8f8f8;
  117. border: 1px solid #e8e8e8;
  118. color: #888;
  119. cursor: pointer;
  120. margin: 0 3px;
  121. padding: 1px 3px;
  122. }
  123. .tag-selected {
  124. background-color: #ddd;
  125. color: black;
  126. }
  127. .draft {
  128. color: red;
  129. }
  130. #post-info {
  131. list-style-type: none;
  132. margin: 0;
  133. padding-left: 0;
  134. }
  135. #post-info li {
  136. line-height: 1em;
  137. margin-bottom: 0.5em;
  138. }
  139. #post-info li:last-child {
  140. margin-bottom: 0;
  141. }
  142. #post-info span {
  143. color: #777;
  144. }
  145. .post-tag {
  146. background-color: #f8f8f8;
  147. border: 1px solid #e8e8e8;
  148. margin: 0 3px;
  149. padding: 1px 3px;
  150. }
  151. .post-tag:link, .post-tag:visited {
  152. color: black;
  153. }
  154. pre {
  155. white-space: pre-wrap;
  156. }
  157. code {
  158. background-color: #f8f8f8;
  159. border: 1px solid #e8e8e8;
  160. padding: 0 3px;
  161. }
  162. pre code {
  163. border: 0;
  164. padding: 0;
  165. }
  166. .highlight, .highlighttable {
  167. background-color: #f8f8f8;
  168. border: 1px solid #e8e8e8;
  169. font-size: 14px;
  170. line-height: 1.35em;
  171. margin: 1em 0;
  172. padding-left: 16px;
  173. }
  174. .highlighttable {
  175. width: 100%;
  176. }
  177. .highlighttable .highlight {
  178. border: 0;
  179. }
  180. .linenos {
  181. color: #888;
  182. }
  183. .para-link {
  184. margin-left: 0.5em;
  185. padding: 0 0.25em 0 0.3em;
  186. }
  187. .para-link:link, .para-link:visited {
  188. color: #A00;
  189. text-decoration: none;
  190. }
  191. .para-link:hover, .para-link:active {
  192. background-color: #A00;
  193. color: white;
  194. }
  195. #footer {
  196. margin-bottom: 1.5em;
  197. color: #444;
  198. font-size: 14px;
  199. text-align: center;
  200. }
  201. #comments-break {
  202. margin: 1em 0;
  203. text-align: center;
  204. font-size: 150%;
  205. color: #AAA;
  206. }
  207. #comments-break::before {
  208. content: '· · ·';
  209. }