style.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. :root {
  2. --space-default: 1rem;
  3. --space-extended: 1.5rem;
  4. --main-color: #0F0F0F;
  5. --main-color-light: #EFEFEF;
  6. --gray: #50514F;
  7. --gray-dark: #2C2D2C;
  8. --gray-light: #CFCFCF;
  9. --green: #70C1B3;
  10. --green-dark: #3E6A62;
  11. --green-light: #D8EEEA;
  12. --yellow: #E9C46A;
  13. --yellow-dark: #806B3A;
  14. }
  15. body {
  16. margin: 0;
  17. font-family: 'Lato', sans-serif;
  18. font-size: 0.9rem;
  19. }
  20. a {
  21. background:
  22. linear-gradient(
  23. to bottom, var(--green) 0%,
  24. var(--green) 100%
  25. );
  26. background-position: 0 100%;
  27. background-repeat: repeat-x;
  28. background-size: 2px 2px;
  29. color: #000;
  30. text-decoration: none;
  31. transition: background-size .2s;
  32. }
  33. a:hover {
  34. background-size: 4px 40px;
  35. }
  36. h1 {
  37. font-family: 'Montserrat', sans-serif;
  38. font-size: 2rem;
  39. text-transform: uppercase;
  40. font-weight: 600;
  41. letter-spacing: 1px;
  42. margin: 0em;
  43. line-height: 2.5rem;
  44. color: var(--main-color-light);
  45. }
  46. header h2 {
  47. margin: 0;
  48. font-family: 'Montserrat', sans-serif;
  49. font-size: 1.3rem;
  50. line-height: 1.5rem;
  51. font-weight: 300;
  52. opacity: 0.8;
  53. }
  54. h2 small {
  55. font-size: 1rem;
  56. display: block ;
  57. }
  58. header {
  59. display: flex;
  60. justify-content: space-between;
  61. padding: var(--space-extended);
  62. background-color: var(--gray-dark);
  63. color: var(--gray-light);
  64. font-size: 0.9rem;
  65. line-height: 1.2rem;
  66. border-bottom: 4px solid var(--gray);
  67. }
  68. header a {
  69. color: var(--gray-light);
  70. }
  71. header .personal-info {
  72. text-align: right;
  73. opacity: 0.8;
  74. }
  75. section {
  76. margin: var(--space-extended);
  77. padding-top: var(--space-default);
  78. text-align: justify;
  79. position: relative;
  80. border-top: 2px solid var(--main-color);
  81. }
  82. section h2.experience-title {
  83. margin: 0;
  84. font-family: 'Montserrat', sans-serif;
  85. font-weight: bold;
  86. text-transform: uppercase;
  87. font-size: 1.2rem;
  88. position: absolute;
  89. top: -0.7rem;
  90. background-color: white;
  91. padding-right: var(--space-default);
  92. letter-spacing: 1px;
  93. margin-bottom: var(--space-default);
  94. }
  95. h3.company-name {
  96. font-family: 'Montserrat', sans-serif;
  97. text-transform: uppercase;
  98. font-size: 1rem;
  99. }
  100. h3.company-name small,
  101. h3.company-name small.position {
  102. display: block;
  103. font-weight: 400;
  104. text-transform: capitalize;
  105. }
  106. h3.company-name small.position {
  107. font-style: italic;
  108. }
  109. p, ul {
  110. margin: 0.8rem 0;
  111. }
  112. ul {
  113. padding-left: 1rem;
  114. }