My public website https://www.chameth.com/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

legacy.css 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. body {
  2. -webkit-text-size-adjust: none
  3. }
  4. /* hire */
  5. .hire {
  6. background-color: #afb6d9;
  7. border-radius: 10px;
  8. padding: 1em 1.5em;
  9. margin-bottom: 2em;
  10. }
  11. .hire h3, .hire p {
  12. margin: 0;
  13. }
  14. .hire a, .hire a:hover, .hire a:active {
  15. color: #4565ad !important;
  16. }
  17. summary {
  18. cursor: pointer;
  19. }
  20. /* Basic */
  21. body {
  22. background: #ffffff;
  23. min-width: 400px;
  24. }
  25. p { margin: 0 0 2em 0; }
  26. hr {
  27. border: 0;
  28. border-bottom: solid 2px #efefef;
  29. margin: 2em 0;
  30. }
  31. blockquote {
  32. border-left: solid 6px #efefef;
  33. font-style: italic;
  34. margin: 0 0 2em 0;
  35. padding: 0.5em 0 0.5em 1.5em;
  36. }
  37. blockquote p {
  38. margin-bottom: 0.5em;
  39. }
  40. blockquote p:last-child {
  41. margin-bottom: 0;
  42. }
  43. .align-left {
  44. text-align: left;
  45. }
  46. .align-center {
  47. text-align: center;
  48. }
  49. .align-right {
  50. text-align: right;
  51. }
  52. /* Section/Article */
  53. article + article {
  54. padding-top: 100px;
  55. border-top: 10px solid rgba(200, 200, 200, 0.3);
  56. margin-top: 100px;
  57. }
  58. header p {
  59. color: #d2d2d2;
  60. position: relative;
  61. margin: 0 0 1.5em 0;
  62. }
  63. header h2 + p {
  64. color: #939393;
  65. font-size: 1.25em;
  66. margin-top: -1em;
  67. line-height: 1.5em;
  68. }
  69. header h3 + p {
  70. font-size: 1.1em;
  71. margin-top: -0.8em;
  72. line-height: 1.5em;
  73. }
  74. header h4 + p,
  75. header h5 + p,
  76. header h6 + p {
  77. font-size: 0.9em;
  78. margin-top: -0.6em;
  79. line-height: 1.5em;
  80. }
  81. /* Image */
  82. article img {
  83. max-width: 100%;
  84. }
  85. .image {
  86. border-radius: 0.35em;
  87. border: 0;
  88. display: inline-block;
  89. position: relative;
  90. }
  91. .image:before {
  92. -moz-transition: opacity 0.2s ease-in-out;
  93. -webkit-transition: opacity 0.2s ease-in-out;
  94. -ms-transition: opacity 0.2s ease-in-out;
  95. transition: opacity 0.2s ease-in-out;
  96. background: url("/res/images/overlay.png");
  97. border-radius: 0.35em;
  98. content: '';
  99. display: block;
  100. height: 100%;
  101. left: 0;
  102. opacity: 0.5;
  103. position: absolute;
  104. top: 0;
  105. width: 100%;
  106. }
  107. .image.thumb {
  108. text-align: center;
  109. }
  110. .image.thumb:after {
  111. -moz-transition: opacity 0.2s ease-in-out;
  112. -webkit-transition: opacity 0.2s ease-in-out;
  113. -ms-transition: opacity 0.2s ease-in-out;
  114. transition: opacity 0.2s ease-in-out;
  115. border-radius: 0.35em;
  116. border: solid 3px rgba(255, 255, 255, 0.5);
  117. color: #fff;
  118. content: 'View';
  119. display: inline-block;
  120. font-size: 0.8em;
  121. font-weight: 400;
  122. left: 50%;
  123. line-height: 2.25em;
  124. margin: -1.25em 0 0 -3em;
  125. opacity: 0;
  126. padding: 0 1.5em;
  127. position: absolute;
  128. text-align: center;
  129. text-decoration: none;
  130. top: 50%;
  131. white-space: nowrap;
  132. }
  133. .image.thumb:hover:after {
  134. opacity: 1.0;
  135. }
  136. .image.thumb:hover:before {
  137. background: url("/res/images/overlay.png"), url("/res/images/overlay.png");
  138. opacity: 1.0;
  139. }
  140. .image img {
  141. border-radius: 0.35em;
  142. display: block;
  143. }
  144. .image.left, figure.left {
  145. float: left;
  146. margin: 0 1.5em 1em 0;
  147. top: 0.25em;
  148. }
  149. .image.right, figure.right {
  150. float: right;
  151. margin: 0 0 1em 1.5em;
  152. top: 0.25em;
  153. }
  154. .image.left, .image.right, figure.left, figure.right {
  155. max-width: 40%;
  156. }
  157. .image.left img, .image.right img, figure.left img, figure.right img {
  158. width: 100%;
  159. }
  160. .image.fit {
  161. display: block;
  162. margin: 0 0 2em 0;
  163. width: 100%;
  164. }
  165. .image.fit img {
  166. width: 100%;
  167. }
  168. /* List */
  169. ol {
  170. list-style: decimal;
  171. margin: 0 0 2em 0;
  172. padding-left: 1.25em;
  173. }
  174. ol li {
  175. padding-left: 0.25em;
  176. }
  177. ul {
  178. list-style: disc;
  179. margin: 0 0 2em 0;
  180. padding-left: 1em;
  181. }
  182. ul li {
  183. padding-left: 0.5em;
  184. }
  185. /* Table */
  186. .table-wrapper {
  187. -webkit-overflow-scrolling: touch;
  188. overflow-x: auto;
  189. }
  190. table {
  191. margin: 0 0 2em 0;
  192. width: 100%;
  193. }
  194. table tbody tr {
  195. border: solid 1px #efefef;
  196. border-left: 0;
  197. border-right: 0;
  198. }
  199. table tbody tr:nth-child(2n + 1) {
  200. background-color: #f7f7f7;
  201. }
  202. table td {
  203. padding: 0.75em 0.75em;
  204. }
  205. table th {
  206. color: #787878;
  207. font-size: 0.9em;
  208. font-weight: 400;
  209. padding: 0 0.75em 0.75em 0.75em;
  210. text-align: left;
  211. }
  212. table thead {
  213. border-bottom: solid 2px #efefef;
  214. }
  215. table tfoot {
  216. border-top: solid 2px #efefef;
  217. }
  218. table.alt {
  219. border-collapse: separate;
  220. }
  221. table.alt tbody tr td {
  222. border: solid 2px #efefef;
  223. border-left-width: 0;
  224. border-top-width: 0;
  225. }
  226. table.alt tbody tr td:first-child {
  227. border-left-width: 2px;
  228. }
  229. table.alt tbody tr:first-child td {
  230. border-top-width: 2px;
  231. }
  232. table.alt thead {
  233. border-bottom: 0;
  234. }
  235. table.alt tfoot {
  236. border-top: 0;
  237. }
  238. /* Main */
  239. #main {
  240. margin-left: calc(60% - 27em);
  241. max-width: 54em;
  242. padding: 8em 4em 4em 4em;
  243. width: calc(100% - 20%);
  244. }
  245. #main > section {
  246. border-top: solid 2px #efefef;
  247. margin: 4em 0 0 0;
  248. padding: 4em 0 0 0;
  249. }
  250. #main > section:first-child {
  251. border-top: 0;
  252. margin-top: 0;
  253. padding-top: 0;
  254. }
  255. /* Touch */
  256. body.is-touch .image.thumb:before {
  257. opacity: 0.5 !important;
  258. }
  259. body.is-touch .image.thumb:after {
  260. display: none !important;
  261. }
  262. body.is-touch #header {
  263. background-attachment: scroll;
  264. background-size: auto, cover;
  265. }
  266. /* XLarge */
  267. @media screen and (max-width: 1800px) {
  268. /* Basic */
  269. body, input, select, textarea {
  270. font-size: 12pt;
  271. }
  272. }
  273. /* Large */
  274. @media screen and (max-width: 1280px) {
  275. /* Header */
  276. #header {
  277. padding: 6em 3em 3em 3em;
  278. width: 30%;
  279. }
  280. #header h1 {
  281. font-size: 1.25em;
  282. }
  283. #header h1 br {
  284. display: none;
  285. }
  286. /* Main */
  287. #main {
  288. margin-left: 30%;
  289. max-width: none;
  290. padding: 6em 3em 3em 3em;
  291. width: calc(100% - 30%);
  292. }
  293. }
  294. /* Medium */
  295. @media screen and (max-width: 980px) {
  296. /* Basic */
  297. h1 br, h2 br, h3 br, h4 br, h5 br, h6 br {
  298. display: none;
  299. }
  300. /* List */
  301. ul.icons li .icon {
  302. font-size: 1.25em;
  303. }
  304. /* Header */
  305. #header {
  306. background-attachment: scroll;
  307. background-position: top left, center center;
  308. background-size: auto, cover;
  309. left: auto;
  310. padding: 6em 4em;
  311. position: relative;
  312. text-align: center;
  313. top: auto;
  314. width: 100%;
  315. display: block;
  316. }
  317. #header h1 {
  318. font-size: 1.75em;
  319. }
  320. #header h1 br, #posts .recent *, #posts .recent a {
  321. display: inline;
  322. padding: 0;
  323. width: auto;
  324. }
  325. #posts ul {
  326. padding-left: 0;
  327. }
  328. #posts ul li {
  329. text-align: left;
  330. margin: 0;
  331. }
  332. /* Main */
  333. #main {
  334. margin: 0;
  335. padding: 6em 4em;
  336. width: 100%;
  337. }
  338. }
  339. /* Small */
  340. @media screen and (max-width: 736px), screen and (max-height: 700px) {
  341. /* Basic */
  342. h1 {
  343. font-size: 1.5em;
  344. }
  345. h2 {
  346. font-size: 1.2em;
  347. }
  348. h3 {
  349. font-size: 1em;
  350. }
  351. /* Section/Article */
  352. section.special, article.special {
  353. text-align: center;
  354. }
  355. header.major h2 {
  356. font-size: 1.35em;
  357. }
  358. /* List */
  359. ul.labeled-icons li {
  360. padding-left: 2em;
  361. }
  362. ul.labeled-icons li h3 {
  363. line-height: 1.75em;
  364. }
  365. /* Header */
  366. #header {
  367. padding: 2.25em 1.5em;
  368. min-height: 18em;
  369. }
  370. #header section {
  371. padding: 10px 0;
  372. }
  373. #header h1 {
  374. font-size: 1.35em;
  375. }
  376. #header ul {
  377. margin-bottom: 20px;
  378. }
  379. #posts {
  380. position: absolute;
  381. bottom: 20px;
  382. right: 20px;
  383. }
  384. #posts li.recent {
  385. display: none;
  386. }
  387. #posts ul li {
  388. margin: 0 0;
  389. font-size: 0.9em;
  390. line-height: 1.3em;
  391. }
  392. /* Main */
  393. #main {
  394. padding: 2.25em 1.5em 0.25em 1.5em;
  395. }
  396. #main > section {
  397. margin: 2.25em 0 0 0;
  398. padding: 2.25em 0 0 0;
  399. }
  400. }
  401. /* XSmall */
  402. @media screen and (max-width: 480px), screen and (max-height: 700px) {
  403. /* List */
  404. ul.actions {
  405. margin: 0 0 2em 0;
  406. }
  407. ul.actions li {
  408. display: block;
  409. padding: 1em 0 0 0;
  410. text-align: center;
  411. width: 100%;
  412. }
  413. ul.actions li:first-child {
  414. padding-top: 0;
  415. }
  416. ul.actions li > * {
  417. margin: 0 !important;
  418. width: 100%;
  419. }
  420. ul.actions li > *.icon:before {
  421. margin-left: -2em;
  422. }
  423. ul.actions.small li {
  424. padding: 0.5em 0 0 0;
  425. }
  426. ul.actions.small li:first-child {
  427. padding-top: 0;
  428. }
  429. /* Header */
  430. #header {
  431. padding: 2.25em 1.5em 2em;
  432. min-height: 18em;
  433. }
  434. #header section {
  435. padding: 0;
  436. }
  437. #header h1 br {
  438. display: none;
  439. }
  440. #posts li.recent {
  441. display: none;
  442. }
  443. #header ul {
  444. margin-bottom: 20px;
  445. }
  446. #posts {
  447. position: absolute;
  448. bottom: 20px;
  449. right: 20px;
  450. }
  451. #posts ul li {
  452. margin: 0 0;
  453. font-size: 0.9em;
  454. line-height: 1.3em;
  455. }
  456. }