Advertisement
bocajbee

styles.css

Jun 22nd, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.84 KB | None | 0 0
  1. body {
  2.     margin: 0;
  3.     padding 0;
  4. }
  5.  
  6. body2 {
  7.     max-width: 1920px;
  8.     margin: 0 auto !important;
  9.     float: none !important;
  10. }
  11.  
  12. .nav {
  13.     background-color: #404040;
  14.     align-items: center;
  15.     color: #ffffff
  16.     list-style: none;
  17.     text-align: center;
  18.     padding: 20px 0 20px 0;
  19. }
  20.  
  21. .nav > li {
  22.     display: inline-block;
  23.     padding-right: 45px;
  24.     padding-top: 5px;
  25. }
  26.  
  27. .nav > li > a{
  28.     text-decoration: none;
  29.     color: #ffffff;
  30. }
  31.  
  32. .nav > li > a:hover {
  33.     color: #c1c1c1;
  34. }
  35.  
  36. /* https://stackoverflow.com/questions/4296012/hide-div-if-screen-is-smaller-than-a-certain-width */
  37. @media screen and (max-width: 975px) {
  38.     .navbar {
  39.         display: none !important;
  40.     }
  41. }
  42.  
  43. /* https://stackoverflow.com/questions/4296012/hide-div-if-screen-is-smaller-than-a-certain-width */
  44. @media screen and (min-width: 975px) {
  45.     .topnav {
  46.         display: none !important;
  47.     }
  48. }
  49.  
  50. /* https://www.w3schools.com/css/css3_flexbox.asp */
  51. .flex-container {
  52.   display: flex;
  53.   flex-direction: row;
  54.   flex-wrap: wrap;
  55.   justify-content: center;
  56.   align-items: center;
  57.   margin: auto;
  58.   padding-top:60px;
  59.   max-width: 1300px;
  60. }
  61.  
  62. .col-md-12{
  63.     margin-top: 30px;
  64.     margin-bottom: 30px;
  65.     margin-left: 30px;
  66.     margin-right: 30px;
  67.     color: #ffffff
  68. }
  69.  
  70. .footer {
  71.    position: fixed;
  72.    left: 0;
  73.    bottom: 0;
  74.    width: 100%;
  75.    background-color: white;
  76.    color: black;
  77.    text-align: center;
  78.    margin-top: 45px;
  79.    padding-bottom: 5px;
  80. }
  81.  
  82. .iframe-container{
  83.   position: relative;
  84.   width: 100%;
  85.   padding-bottom: 56.25%;
  86.   margin-bottom: 30px;
  87.   height: 0;
  88.  
  89. }
  90. .iframe-container iframe{
  91.   position: absolute;
  92.   top:0;
  93.   left: 0;
  94.   width: 100%;
  95.   height: 100%;
  96.   margin-bottom: 30px;
  97.   padding-bottom: 2%;
  98.   padding-right: 15px;
  99.   padding-left: 15px;
  100. }
  101.  
  102.  
  103. p {
  104.     font-size: min(3vw, 18px);
  105.     margin-bottom: 0px;
  106.     padding-right: 10px;
  107.     padding-left: 15px;
  108. }
  109.  
  110. h3 {
  111.     font-size: min(3vw, 18px);
  112.     padding-right: 15px;
  113.     padding-left: 15px;
  114. }
  115.  
  116. div {
  117.  
  118. }
  119.  
  120. img{
  121.     margin-bottom: 40px;
  122.     padding-bottom: 10px;
  123. }
  124.  
  125.  
  126. /* Style the navigation menu */
  127. .topnav {
  128.   overflow: hidden;
  129.   background-color: #333;
  130.   position: relative;
  131. }
  132.  
  133. /* Hide the links inside the navigation menu (except for logo/home) */
  134. .topnav #myLinks {
  135.   display: none;
  136. }
  137.  
  138. /* Style navigation menu links */
  139. .topnav a {
  140.   color: white;
  141.   padding: 4px 4px;
  142.   text-decoration: none;
  143.   font-size: 14px;
  144.   display: block;
  145. }
  146.  
  147. /* Style the hamburger menu */
  148. .topnav a.icon {
  149.   background: #404040;
  150.   display: block;
  151.   position: absolute;
  152.   right: 0;
  153.   top: 0;
  154. }
  155.  
  156. /* Add a grey background color on mouse-over */
  157. .topnav a:hover {
  158.   background-color: #404040;
  159.   color: black;
  160. }
  161.  
  162. /* Style the active link (or home/logo) */
  163. .active {
  164.   background-color: #404040;
  165.   color: white;
  166. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement