css/styles.css


SUBMITTED BY: helmyawan

DATE: Oct. 28, 2016, 10:12 p.m.

FORMAT: CSS

SIZE: 11.5 kB

HITS: 893

  1. html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  2. margin: 0;
  3. padding: 0;
  4. border: 0;
  5. font-size: 100%;
  6. font: inherit;
  7. vertical-align: baseline;
  8. outline: none;
  9. -webkit-font-smoothing: antialiased;
  10. -webkit-text-size-adjust: 100%;
  11. -ms-text-size-adjust: 100%;
  12. -webkit-box-sizing: border-box;
  13. -moz-box-sizing: border-box;
  14. box-sizing: border-box;
  15. }
  16. html { overflow-y: scroll; }
  17. body {
  18. background: #f0f0f0;
  19. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  20. color: #313131;
  21. font-size: 62.5%;
  22. line-height: 1;
  23. }
  24. ::selection { background: #a4ecab; }
  25. ::-moz-selection { background: #a4ecab; }
  26. ::-webkit-selection { background: #a4ecab; }
  27. ::-webkit-input-placeholder { /* WebKit browsers */
  28. color: #ccc;
  29. font-style: italic;
  30. }
  31. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  32. color: #ccc;
  33. font-style: italic;
  34. }
  35. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  36. color: #ccc;
  37. font-style: italic;
  38. }
  39. :-ms-input-placeholder { /* Internet Explorer 10+ */
  40. color: #ccc !important;
  41. font-style: italic;
  42. }
  43. br { display: block; line-height: 2.2em; }
  44. hr { width: 75%; border: 1px solid #ccc; margin-bottom: 15px; }
  45. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
  46. ol, ul { list-style: none; }
  47. input, textarea {
  48. -webkit-font-smoothing: antialiased;
  49. -webkit-text-size-adjust: 100%;
  50. -ms-text-size-adjust: 100%;
  51. -webkit-box-sizing: border-box;
  52. -moz-box-sizing: border-box;
  53. box-sizing: border-box;
  54. outline: none;
  55. }
  56. blockquote, q { quotes: none; }
  57. blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
  58. sup { vertical-align: super; font-size: 0.7em; }
  59. b,strong { font-weight: bold; }
  60. i,em { font-style: italic; }
  61. table { border-collapse: collapse; border-spacing: 0; }
  62. img { border: 0; max-width: 100%; }
  63. #topbar {
  64. background: #4f4a41;
  65. padding: 10px 0 10px 0;
  66. text-align: center;
  67. height: 36px;
  68. overflow: hidden;
  69. }
  70. #topbar a {
  71. color: #fff;
  72. font-size:1.3em;
  73. line-height: 1.25em;
  74. text-decoration: none;
  75. opacity: 0.5;
  76. font-weight: bold;
  77. }
  78. #topbar a:hover {
  79. opacity: 1;
  80. }
  81. /** typography **/
  82. h1 {
  83. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  84. font-size: 2.5em;
  85. line-height: 1.5em;
  86. letter-spacing: -0.05em;
  87. margin-bottom: 20px;
  88. padding: .1em 0;
  89. color: #444;
  90. position: relative;
  91. overflow: hidden;
  92. white-space: nowrap;
  93. text-align: center;
  94. }
  95. h1:before,
  96. h1:after {
  97. content: "";
  98. position: relative;
  99. display: inline-block;
  100. width: 50%;
  101. height: 1px;
  102. vertical-align: middle;
  103. background: #f0f0f0;
  104. }
  105. h1:before {
  106. left: -.5em;
  107. margin: 0 0 0 -50%;
  108. }
  109. h1:after {
  110. left: .5em;
  111. margin: 0 -50% 0 0;
  112. }
  113. h1 > span {
  114. display: inline-block;
  115. vertical-align: middle;
  116. white-space: normal;
  117. }
  118. h2 {
  119. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  120. font-size: 2.1em;
  121. line-height: 1.4em;
  122. letter-spacing: normal;
  123. margin-bottom: 10px;
  124. padding: .1em 0;
  125. color: #444;
  126. position: relative;
  127. overflow: hidden;
  128. white-space: nowrap;
  129. text-align: center;
  130. font-style: italic;
  131. }
  132. p {
  133. display: block;
  134. font-size: 1.35em;
  135. line-height: 1.5em;
  136. margin-bottom: 22px;
  137. }
  138. a { color: #5a9352; text-decoration: none; }
  139. a:hover { text-decoration: underline; }
  140. .center { display: block; text-align: center; }
  141. /** page structure **/
  142. #w {
  143. display: block;
  144. width: 750px;
  145. margin: 0 auto;
  146. padding-top: 30px;
  147. padding-bottom: 45px;
  148. }
  149. #content {
  150. display: block;
  151. width: 100%;
  152. background: #fff;
  153. padding: 25px 20px;
  154. padding-bottom: 35px;
  155. -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  156. -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  157. box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  158. }
  159. /** skills bar ui **/
  160. #skillset {
  161. display: block;
  162. margin-bottom: 8px;
  163. }
  164. #skillset .skill {
  165. display: block;
  166. margin-bottom: 20px;
  167. }
  168. #skillset .skill h3 {
  169. display: block;
  170. font-size: 1.55em;
  171. line-height: 1.4em;
  172. margin-bottom: 2px;
  173. }
  174. #skillset .skill .bar {
  175. display: block;
  176. height: 25px;
  177. line-height: 25px;
  178. width: 500px;
  179. padding: 3px 4px;
  180. -webkit-box-sizing: content-box;
  181. box-sizing: content-box;
  182. -moz-box-sizing: content-box;
  183. -webkit-border-radius: 6px;
  184. -moz-border-radius: 6px;
  185. border-radius: 6px;
  186. -webkit-box-shadow: 1px 1px 2px #969492;
  187. -moz-box-shadow: 1px 1px 2px #969492;
  188. box-shadow: 1px 1px 2px #969492;
  189. background-color: #dadada;
  190. background-image: -webkit-gradient(linear, left top, left bottom, from(#efeaea), to(#dadada));
  191. background-image: -webkit-linear-gradient(top, #efeaea, #dadada);
  192. background-image: -moz-linear-gradient(top, #efeaea, #dadada);
  193. background-image: -ms-linear-gradient(top, #efeaea, #dadada);
  194. background-image: -o-linear-gradient(top, #efeaea, #dadada);
  195. background-image: linear-gradient(top, #efeaea, #dadada);
  196. }
  197. #skillset .skill .bar .skillbar {
  198. display: block;
  199. height: 100%;
  200. text-align: center;
  201. font-weight: bold;
  202. font-size: 1.1em;
  203. color: #414141;
  204. text-shadow: 1px 1px 0 rgba(255,255,255,0.55);
  205. -webkit-border-radius: 4px;
  206. -moz-border-radius: 4px;
  207. border-radius: 4px;
  208. background-color: #4cc958;
  209. background-image: -webkit-gradient(linear, left top, left bottom, from(#68e574), to(#4cc958));
  210. background-image: -webkit-linear-gradient(top, #68e574, #4cc958);
  211. background-image: -moz-linear-gradient(top, #68e574, #4cc958);
  212. background-image: -ms-linear-gradient(top, #68e574, #4cc958);
  213. background-image: -o-linear-gradient(top, #68e574, #4cc958);
  214. background-image: linear-gradient(top, #68e574, #4cc958);
  215. }
  216. #skillset .skill .bar .skillbar small { font-size: 0.85em; padding-left: 3px; vertical-align: top; }
  217. /** css3 animations **/
  218. /** fill modes: http://stackoverflow.com/a/20274314/477958 **/
  219. #skillset .skill .bar .htmlcss {
  220. -moz-animation: htmlcss 1.5s ease-in-out forwards;
  221. -webkit-animation: htmlcss 1.5s ease-in-out forwards;
  222. animation: htmlcss 1.5s ease-in-out forwards;
  223. }
  224. #skillset .skill .bar .jquery {
  225. -moz-animation: jquery 1.5s ease-in-out forwards;
  226. -webkit-animation: jquery 1.5s ease-in-out forwards;
  227. animation: jquery 1.5s ease-in-out forwards;
  228. }
  229. #skillset .skill .bar .phpmysql {
  230. -moz-animation: phpmysql 1.5s ease-in-out forwards;
  231. -webkit-animation: phpmysql 1.5s ease-in-out forwards;
  232. animation: phpmysql 1.5s ease-in-out forwards;
  233. }
  234. #skillset .skill .bar .wordpress {
  235. -moz-animation: wordpress 1.5s ease-in-out forwards;
  236. -webkit-animation: wordpress 1.5s ease-in-out forwards;
  237. animation: wordpress 1.5s ease-in-out forwards;
  238. }
  239. #skillset .skill .bar .woocommerce {
  240. -moz-animation: woocommerce 1.5s ease-in-out forwards;
  241. -webkit-animation: woocommerce 1.5s ease-in-out forwards;
  242. animation: woocommerce 1.5s ease-in-out forwards;
  243. }
  244. /** CSS3 keyframes **/
  245. @-moz-keyframes htmlcss {
  246. 0% { width: 35px; }
  247. 100% { width: 100%; }
  248. }
  249. @-webkit-keyframes htmlcss {
  250. 0% { width: 35px; }
  251. 100% { width: 100%; }
  252. }
  253. @keyframes htmlcss {
  254. 0% { width: 35px; }
  255. 100% { width: 100%; }
  256. }
  257. @-moz-keyframes phpmysql {
  258. 0% { width: 45px; }
  259. 100% { width: 70%; }
  260. }
  261. @-webkit-keyframes phpmysql {
  262. 0% { width: 45px; }
  263. 100% { width: 70%; }
  264. }
  265. @keyframes phpmysql {
  266. 0% { width: 45px; }
  267. 100% { width: 70%; }
  268. }
  269. @-moz-keyframes jquery {
  270. 0% { width: 45px; }
  271. 100% { width: 55%; }
  272. }
  273. @-webkit-keyframes jquery {
  274. 0% { width: 45px; }
  275. 100% { width: 55%; }
  276. }
  277. @keyframes jquery {
  278. 0% { width: 45px; }
  279. 100% { width: 55%; }
  280. }
  281. @-moz-keyframes wordpress {
  282. 0% { width: 35px; }
  283. 100% { width: 65%; }
  284. }
  285. @-webkit-keyframes wordpress {
  286. 0% { width: 35px; }
  287. 100% { width: 65%; }
  288. }
  289. @keyframes wordpress {
  290. 0% { width: 35px; }
  291. 100% { width: 65%; }
  292. }
  293. @-moz-keyframes woocommerce {
  294. 0% { width: 35px; }
  295. 100% { width: 35%; }
  296. }
  297. @-webkit-keyframes woocommerce {
  298. 0% { width: 35px; }
  299. 100% { width: 35%; }
  300. }
  301. @keyframes woocommerce {
  302. 0% { width: 35px; }
  303. 100% { width: 35%; }
  304. }
  305. /** multicolored skill bars **/
  306. #skillset .skill .bar .skillbar.htmlcss.alt {
  307. background-color: #676767;
  308. background-image: -webkit-gradient(linear, left top, left bottom, from(#858985), to(#676767));
  309. background-image: -webkit-linear-gradient(top, #858985, #676767);
  310. background-image: -moz-linear-gradient(top, #858985, #676767);
  311. background-image: -ms-linear-gradient(top, #858985, #676767);
  312. background-image: -o-linear-gradient(top, #858985, #676767);
  313. background-image: linear-gradient(top, #858985, #676767);
  314. }
  315. #skillset .skill .bar .skillbar.phpmysql.alt {
  316. background-color: #9b35aa;
  317. background-image: -webkit-gradient(linear, left top, left bottom, from(#af4ebd), to(#9b35aa));
  318. background-image: -webkit-linear-gradient(top, #af4ebd, #9b35aa);
  319. background-image: -moz-linear-gradient(top, #af4ebd, #9b35aa);
  320. background-image: -ms-linear-gradient(top, #af4ebd, #9b35aa);
  321. background-image: -o-linear-gradient(top, #af4ebd, #9b35aa);
  322. background-image: linear-gradient(top, #af4ebd, #9b35aa);
  323. }
  324. #skillset .skill .bar .skillbar.jquery.alt {
  325. background-color: #c98c34;
  326. background-image: -webkit-gradient(linear, left top, left bottom, from(#dfa450), to(#c98c34));
  327. background-image: -webkit-linear-gradient(top, #dfa450, #c98c34);
  328. background-image: -moz-linear-gradient(top, #dfa450, #c98c34);
  329. background-image: -ms-linear-gradient(top, #dfa450, #c98c34);
  330. background-image: -o-linear-gradient(top, #dfa450, #c98c34);
  331. background-image: linear-gradient(top, #dfa450, #c98c34);
  332. }
  333. #skillset .skill .bar .skillbar.wordpress.alt {
  334. background-color: #4e59c3;
  335. background-image: -webkit-gradient(linear, left top, left bottom, from(#5e6ae2), to(#4e59c3));
  336. background-image: -webkit-linear-gradient(top, #5e6ae2, #4e59c3);
  337. background-image: -moz-linear-gradient(top, #5e6ae2, #4e59c3);
  338. background-image: -ms-linear-gradient(top, #5e6ae2, #4e59c3);
  339. background-image: -o-linear-gradient(top, #5e6ae2, #4e59c3);
  340. background-image: linear-gradient(top, #5e6ae2, #4e59c3);
  341. }
  342. #skillset .skill .bar .skillbar.woocommerce.alt {
  343. background-color: #539fc1;
  344. background-image: -webkit-gradient(linear, left top, left bottom, from(#7cc4e5), to(#539fc1));
  345. background-image: -webkit-linear-gradient(top, #7cc4e5, #539fc1);
  346. background-image: -moz-linear-gradient(top, #7cc4e5, #539fc1);
  347. background-image: -ms-linear-gradient(top, #7cc4e5, #539fc1);
  348. background-image: -o-linear-gradient(top, #7cc4e5, #539fc1);
  349. background-image: linear-gradient(top, #7cc4e5, #539fc1);
  350. }
  351. /** clearfix **/
  352. .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
  353. .clearfix { display: inline-block; }
  354. html[xmlns] .clearfix { display: block; }
  355. * html .clearfix { height: 1%; }

comments powered by Disqus