pacho_the_python

css_example_2

Feb 18th, 2023
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.73 KB | None | 0 0
  1.  
  2. :root {
  3.     --orange: #e24e2a;
  4.     --green: #1b9772;
  5.     --gray-dark: #383838;
  6.     --hr-color: #6c6c6c;
  7. }
  8.  
  9. body {
  10.     font-family: Helvetica, sans-serif;
  11.     display: flex;
  12.     flex-direction: column;
  13.     align-items: center;
  14. }
  15.  
  16. header, main, footer {width: 70%;}
  17.  
  18. header {
  19.     margin: 10px 0;
  20.     display: flex;
  21.     flex-direction: row;  
  22.     align-items: center;
  23.     background-color: white;
  24. }
  25.  
  26. .title {
  27.     font-size: 34px;
  28.     font-weight: bold;
  29.     padding-left: 50px;
  30.     padding-right: 10px;
  31. }
  32.  
  33. .line {
  34.     margin-right: 10px;
  35.     width: 1px;
  36.     height: 28px;
  37.     border-right: 1px solid black;
  38. }
  39.  
  40. .sub-title {margin-right: auto;}
  41. .links {margin-right: 30px;}
  42.  
  43. .nav {
  44.     display: flex;
  45.     flex-direction: row;
  46.     align-items: center;  
  47.     gap: 12px;
  48.     background-color: #eeebeb;
  49. }
  50.  
  51. .nav a {text-decoration: none; color: black;}
  52. .nav li {padding: 10px 10px;}
  53. .first_orange {background-color: var(--orange);}
  54. .nav a {font-size: 14px;}
  55. .nav .orange_link {color: white;}
  56.  
  57. .clable_pic {
  58.     width: 100%;
  59.     height: 400px;
  60.     background-image: url(./images/banner.jpg);
  61.     background-position: center center;
  62.     background-size: cover;
  63. }
  64.  
  65. .section_content {background-color: var(--orange);}
  66.  
  67. .section_content p {
  68.     text-align: center;
  69.     padding: 50px 100px;
  70.     color: white;
  71.     font-size: 14px;
  72. }
  73.  
  74. .wirework {font-weight: bold;}
  75. .section_content .orange_link {color: white;}
  76.  
  77. .section_flex {
  78.     background-color: var(--gray-dark);
  79.     display: flex;
  80.     flex-direction: row;
  81.     justify-content: space-around;
  82.     align-items: center;
  83.     gap: 1mm;
  84. }
  85.  
  86. .card {
  87.     margin-top: 15mm;
  88.     width: 22%;
  89.     text-align: center;
  90. }
  91.  
  92. .card i {
  93.     background-color: var(--orange);
  94.     color: white;
  95.     font-size: 40px;
  96.     padding: 10px;
  97.     margin-bottom: 3mm;
  98. }
  99.  
  100. .icon_font {color: white;}
  101.  
  102. hr {
  103.     height: 1px;
  104.     background-color: var(--hr-color);
  105.     border: none;
  106.     margin: 14px 0;
  107. }
  108.  
  109. .under_hr_p {
  110.     color: #746e6e;
  111.     padding-bottom: 20mm;
  112. }
  113.  
  114. .description {
  115.     background-color: white;
  116.     text-align: center;
  117. }
  118.  
  119. .description h2 {
  120.     margin-top: 15mm;
  121.     color: var(--gray-dark);
  122. }
  123.  
  124. .description_p {
  125.     margin-bottom: 12mm;
  126.     color: var(--gray-dark);
  127. }
  128.  
  129. .description_size {margin-bottom: 15mm;}
  130.  
  131. .description_a {
  132.     background-color: var(--green);
  133.     text-decoration: none;
  134.     color: white;
  135.     font-weight: bold;
  136.     padding: 16px 30px;
  137.     font-size: 10px;
  138.     letter-spacing: 1.3px;
  139. }
  140.  
  141. .bottom_p {
  142.     margin-bottom: 10mm;
  143. }
  144.  
  145. footer {
  146.     background-color: var(--green);}
  147.  
  148. footer .footer_p {
  149.     margin: 25mm 0;
  150.     text-align: center;
  151.     color: rgb(189, 183, 183);
  152. }
  153.  
  154. .footer_span {
  155.     color: white;
  156. }
Add Comment
Please, Sign In to add comment