Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2023
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.07 KB | None | 0 0
  1.  
  2. .header {
  3.     display: flex;
  4.     justify-content: space-between;
  5.     align-items: center;
  6.     position: fixed;
  7.     width: 100%;
  8.     height: 70px;
  9.     padding: 0 20px;
  10.     background-color: white;
  11.     top: 0;
  12.     left: 0;
  13. }
  14. .topnav{
  15.     width: 100%;
  16.     height: calc(100vh / 10);
  17.     background-color: #2B78E4;
  18.     display: flex;
  19.     align-items: center;
  20.     /*justify-content: space-between;*/
  21. }
  22. .topnav a{
  23.     text-decoration: none;
  24.     color: black;
  25.     font-family: "Helvetica", sans-serif;
  26. }
  27. .helmet-logo {
  28.     width: 70px;
  29.     height: 70px;
  30.  
  31.  
  32. }
  33. /* Dropdown Button */
  34. .dropbtn {
  35.     background-color: #fff1f1;
  36.     color: Black;
  37.     padding: 8px 16px;
  38.  
  39.  
  40. }
  41.  
  42. /* The container <div> - needed to position the dropdown content */
  43. .dropdown {
  44.     position: relative;
  45.     display: inline-block;
  46.     padding: 8px 16px;
  47.     font-style: inherit;
  48. }
  49.  
  50. /* Dropdown Content (Hidden by Default) */
  51. .dropdown-content {
  52.     display: none;
  53.     position: absolute;
  54.     background-color: #f1f1f1;
  55.     min-width: 160px;
  56.     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  57.     z-index: 1;
  58. }
  59.  
  60. /* Links inside the dropdown */
  61. .dropdown-content a {
  62.     color: black;
  63.     padding: 12px 16px;
  64.     text-decoration: none;
  65.     display: block;
  66. }
  67.  
  68. /* Change color of dropdown links on hover */
  69. .dropdown-content a:hover {background-color: #ddd;}
  70.  
  71. /* Show the dropdown menu on hover */
  72. .dropdown:hover .dropdown-content {
  73.     display: block;
  74. }
  75.  
  76. /* Change the background color of the dropdown button when the dropdown content is shown */
  77. .dropdown:hover .dropbtn {
  78.     background-color: #f6f6f6;
  79. }
  80. .nav-btn{
  81.     background-color: #fff1f1;
  82.     color: Black;
  83.     padding: 8px 16px;
  84. }
  85. #login-btn{
  86.     position: relative;
  87.     display: inline-block;
  88.     float: right;
  89. }
  90. #signUp-btn{
  91.     position: relative;
  92.     display: inline-block;
  93.     float: right;;
  94.     padding-left: 20px;
  95. }
  96.  
  97. #login-btn, #signUp-btn {
  98.     float: right;
  99. }
  100.  
  101. #teams-btn{
  102.     position: relative;
  103.     padding-left: 20px;
  104. }
  105.  
  106.  
  107. body {
  108.     margin: 0;
  109.     padding: 0;
  110.     font-family: "Helvetica", sans-serif;
  111. }
  112. .title-span{
  113.     padding-left: calc(10vw/2);
  114.     display: inline-block;
  115. }
  116. h1{
  117.     background-color: #dddddd;
  118.     display: inline-block;
  119.     padding-left: calc(50vw/2);
  120. }
  121. h2{
  122.     background-color: #dddddd;
  123.     display: inline-block;
  124.     padding-left: 40px;
  125. }
  126.  
  127. .main{
  128.     background-color: #3030F1;
  129.     background-image: url("field-banner.jpg");
  130.     background-position: center;
  131.     background-size: cover;
  132.     margin: 0;
  133.     padding-top: 400px;
  134.     padding-bottom: 400px;
  135.  
  136. }
  137.  
  138. footer {
  139.     background-color: #999999;
  140.     background-size: 50px;
  141.     height : calc(100vh/8);
  142.     display: flex;
  143.     align-items: center;
  144.     justify-content: space-between;
  145. }
  146.  
  147. .footer-links {
  148.     /* Set the display property to flex */
  149.     display: flex;
  150.     /* Align the links vertically */
  151.     align-items: center;
  152. }
  153.  
  154. .footer-links a {
  155.     /* Set the color of the links */
  156.     color: black;
  157.     /* Add some margin to the right of the links */
  158.     margin-left: 20px;
  159. }
  160.  
  161.  
  162.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement