style.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. * {
  2. font-family:josefin-sans;
  3. -webkit-box-sizing: border-box;
  4. -moz-box-sizing: border-box;
  5. box-sizing: border-box;
  6. }
  7. a {
  8. text-decoration: none;
  9. color: rgb(61, 146, 201);
  10. }
  11. a:hover,
  12. a:focus {
  13. text-decoration: underline;
  14. }
  15. h3 {
  16. font-weight: 100;
  17. }
  18. /* LAYOUT CSS */
  19. .pure-img-responsive {
  20. max-width: 100%;
  21. height: auto;
  22. }
  23. #layout {
  24. padding: 0;
  25. }
  26. .header {
  27. text-align: center;
  28. top: auto;
  29. margin: 3em auto;
  30. }
  31. .sidebar {
  32. background: rgb(61, 79, 93);
  33. color: #fff;
  34. }
  35. .brand-title,
  36. .brand-tagline {
  37. margin: 0;
  38. }
  39. .brand-title {
  40. text-transform: uppercase;
  41. }
  42. .brand-tagline {
  43. font-weight: 300;
  44. color: rgb(176, 202, 219);
  45. }
  46. .nav-list {
  47. margin: 0;
  48. padding: 0;
  49. list-style: none;
  50. }
  51. .nav-item {
  52. display: inline-block;
  53. *display: inline;
  54. zoom: 1;
  55. }
  56. .nav-item a {
  57. background: transparent;
  58. border: 2px solid rgb(176, 202, 219);
  59. color: #fff;
  60. margin-top: 1em;
  61. letter-spacing: 0.05em;
  62. text-transform: uppercase;
  63. font-size: 85%;
  64. }
  65. .nav-item a:hover,
  66. .nav-item a:focus {
  67. border: 2px solid rgb(61, 146, 201);
  68. text-decoration: none;
  69. }
  70. .content-subhead {
  71. text-transform: uppercase;
  72. color: #aaa;
  73. border-bottom: 1px solid #eee;
  74. padding: 0.4em 0;
  75. font-size: 80%;
  76. font-weight: 500;
  77. letter-spacing: 0.1em;
  78. }
  79. .content {
  80. padding: 2em 1em 0;
  81. }
  82. .post {
  83. padding-bottom: 2em;
  84. }
  85. .post-title {
  86. font-size: 2em;
  87. color: #222;
  88. margin-bottom: 0.2em;
  89. }
  90. .post-avatar {
  91. border-radius: 50px;
  92. float: right;
  93. margin-left: 1em;
  94. }
  95. .post-description {
  96. font-family: Georgia, "Cambria", serif;
  97. color: #444;
  98. line-height: 1.8em;
  99. }
  100. .post-meta {
  101. color: #999;
  102. font-size: 90%;
  103. margin: 0;
  104. }
  105. .post-category {
  106. margin: 0 0.1em;
  107. padding: 0.3em 1em;
  108. color: #fff;
  109. background: #999;
  110. font-size: 80%;
  111. }
  112. .post-category-design {
  113. background: #5aba59;
  114. }
  115. .post-category-pure {
  116. background: #4d85d1;
  117. }
  118. .post-category-yui {
  119. background: #8156a7;
  120. }
  121. .post-category-js {
  122. background: #df2d4f;
  123. }
  124. .post-images {
  125. margin: 1em 0;
  126. }
  127. .post-image-meta {
  128. margin-top: -3.5em;
  129. margin-left: 1em;
  130. color: #fff;
  131. text-shadow: 0 1px 1px #333;
  132. }
  133. .footer {
  134. padding: 1em 0;
  135. text-align:center;
  136. }
  137. .footer a {
  138. color: #ccc;
  139. }
  140. .footer .pure-menu a:hover,
  141. .footer .pure-menu a:focus {
  142. background: none;
  143. }
  144. @media (min-width: 48em) {
  145. .content {
  146. padding: 2em 3em 0;
  147. margin-left: 25%;
  148. }
  149. .header {
  150. margin: 50% 2em 0;
  151. text-align: right;
  152. }
  153. .sidebar {
  154. position: fixed;
  155. top: 0;
  156. bottom: 0;
  157. }
  158. .footer {
  159. position:absolute;
  160. }
  161. }
  162. .pure-g {
  163. letter-spacing:0;
  164. }
  165. .emoji {
  166. width:20px;
  167. margin-bottom:-5px;
  168. }
  169. .pure-button-group .action-form {
  170. display:inline-block;
  171. }
  172. .pure-button-group .pure-button {
  173. border-right:0;
  174. }
  175. .brand-title a {
  176. color:#FFFFFF;
  177. text-decoration:none;
  178. }
  179. a.pure-button,a.pure-menu-link {
  180. text-decoration:none;
  181. }
  182. #admin-menu-wrapper {
  183. position:fixed;
  184. top:0;
  185. right:0;
  186. z-index:10;
  187. width:auto;
  188. background-color:#FFFFFF;
  189. border-bottom-left-radius:5px;
  190. }
  191. .footer {
  192. bottom:0;
  193. width:100%;
  194. }
  195. .badge {
  196. border-radius:5px;
  197. padding:5px;
  198. margin-right:-10px;
  199. background-color:#b0cadb;
  200. color:black;
  201. }
  202. .post-avatar,.actor-icon {
  203. border-radius:5px;
  204. }
  205. aside {
  206. background:#1f8dd6;
  207. margin:auto;
  208. margin-top:10%;
  209. padding:1em;
  210. border-radius:3px;
  211. color:#fff;
  212. font-size:25px;
  213. }
  214. aside input,aside textarea {
  215. color:#000000;
  216. font-size:20px;
  217. }
  218. .pure-button-success,
  219. .pure-button-error,
  220. .pure-button-warning,
  221. .pure-button-secondary {
  222. color: white;
  223. border-radius: 4px;
  224. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  225. }
  226. .pure-button-success {
  227. background: rgb(28, 184, 65);
  228. }
  229. .pure-button-error {
  230. background: rgb(202, 60, 60);
  231. }
  232. .pure-button-warning {
  233. background: rgb(223, 117, 20);
  234. }
  235. .pure-button-secondary {
  236. background: rgb(66, 184, 221);
  237. }
  238. .img-attachment {
  239. max-width:100%;
  240. }
  241. .actor-box {
  242. border:2px solid #1f8dd6;
  243. border-radius:10px;
  244. padding:5px;
  245. margin-bottom:10px;
  246. width:400px;
  247. line-height:initial;
  248. min-height:64px;
  249. }
  250. .actor-button {
  251. float:right;
  252. }