Monstera

Untitled

Mar 3rd, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. width: 100%;
  5. height: 100vh;
  6. background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(back.png);
  7. font-family: 'Ubuntu';
  8. background-size: cover;
  9. background-position: center;
  10. overflow: hidden;
  11. }
  12.  
  13. /* index.html */
  14. .bar {
  15. width: 85%;
  16. margin: auto;
  17. padding: 35px 0;
  18. display: flex;
  19. align-items: center;
  20. justify-content: space-between;
  21. }
  22.  
  23. .bar ul li{
  24. list-style: none;
  25. display: inline-block;
  26. margin: 0 20px;
  27. position: relative;
  28. }
  29.  
  30. .bar ul li a{
  31. text-decoration: none;
  32. color: white;
  33. text-transform: uppercase;
  34. }
  35.  
  36. .bar ul li::after{
  37. content: '';
  38. height: 3px;
  39. width: 0;
  40. background: rgba(38, 231, 157, 0.7);
  41. position: absolute;
  42. left: 0;
  43. bottom: -7px;
  44. transition: 0.5s;
  45. border-radius: 30%;
  46. }
  47.  
  48. .bar ul li:hover::after{
  49. width: 100%;
  50. }
  51.  
  52. #content {
  53. width: 100%;
  54. position: absolute;
  55. top: 50%;
  56. transform: translateY(-50%);
  57. color: white;
  58. text-align: center;
  59. }
  60.  
  61. #greeting {
  62. display: none;
  63. margin-left: auto;
  64. margin-right: auto;
  65. margin-top: 50px;
  66. color: #4fecfa;
  67. font-size: 20px;
  68. width: 500px;
  69. height: 25px;
  70. padding: 20px;
  71. border: 2px dotted #132E33;
  72. border-radius: 5px;
  73. background-color: #1b656092;
  74.  
  75. -webkit-box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
  76. -moz-box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
  77. box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
  78. }
  79.  
  80. .hey {
  81. width: 450px;
  82. margin: auto;
  83. height: 25px;
  84. color: white;
  85. text-align: center;
  86. font-weight: bold;
  87. }
  88.  
  89. #magicButton {
  90. width: 150px;
  91. height: 50px;
  92. padding: 15px;
  93. text-align: center;
  94. margin: 20px 10px;
  95. border-radius: 25px;
  96. font-weight: bold;
  97. font-size: 15px;
  98. border: 2px solid rgba(30, 167, 115, 0.7);
  99. background: transparent;
  100. color: white;
  101. cursor: pointer;
  102. position: relative;
  103. overflow: hidden;
  104. }
  105.  
  106. span {
  107. background: rgba(30, 167, 115, 0.7);
  108. height: 100%;
  109. width: 0;
  110. border-radius: 25px;
  111. position: absolute;
  112. left: 0;
  113. bottom: 0;
  114. z-index: -1;
  115. transition: 0.5s;
  116. }
  117.  
  118. #magicButton:hover span {
  119. width: 110%;
  120. height: 54px;
  121. }
  122.  
  123. #magicButton:hover {
  124. border: none;
  125. }
  126.  
  127. /* contact.html - ay, you should make it better!*/
  128.  
  129. .SocialMedia {
  130. width: 300px;
  131. margin-left: 70%;
  132. margin-top: 30%;
  133. padding: 35px;
  134. display: flex;
  135. align-items: center;
  136. }
  137.  
  138. .SocialMedia ul li {
  139. display: inline-block;
  140. margin: 0 20px;
  141. position: relative;
  142. }
  143.  
  144. .SocialMedia ul li a {
  145. color: white;
  146. }
  147.  
  148.  
Advertisement
Add Comment
Please, Sign In to add comment