Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100vh;
- background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(back.png);
- font-family: 'Ubuntu';
- background-size: cover;
- background-position: center;
- overflow: hidden;
- }
- /* index.html */
- .bar {
- width: 85%;
- margin: auto;
- padding: 35px 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .bar ul li{
- list-style: none;
- display: inline-block;
- margin: 0 20px;
- position: relative;
- }
- .bar ul li a{
- text-decoration: none;
- color: white;
- text-transform: uppercase;
- }
- .bar ul li::after{
- content: '';
- height: 3px;
- width: 0;
- background: rgba(38, 231, 157, 0.7);
- position: absolute;
- left: 0;
- bottom: -7px;
- transition: 0.5s;
- border-radius: 30%;
- }
- .bar ul li:hover::after{
- width: 100%;
- }
- #content {
- width: 100%;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- color: white;
- text-align: center;
- }
- #greeting {
- display: none;
- margin-left: auto;
- margin-right: auto;
- margin-top: 50px;
- color: #4fecfa;
- font-size: 20px;
- width: 500px;
- height: 25px;
- padding: 20px;
- border: 2px dotted #132E33;
- border-radius: 5px;
- background-color: #1b656092;
- -webkit-box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
- -moz-box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
- box-shadow: 0px 0px 25px 1px rgba(19, 46, 51, 1);
- }
- .hey {
- width: 450px;
- margin: auto;
- height: 25px;
- color: white;
- text-align: center;
- font-weight: bold;
- }
- #magicButton {
- width: 150px;
- height: 50px;
- padding: 15px;
- text-align: center;
- margin: 20px 10px;
- border-radius: 25px;
- font-weight: bold;
- font-size: 15px;
- border: 2px solid rgba(30, 167, 115, 0.7);
- background: transparent;
- color: white;
- cursor: pointer;
- position: relative;
- overflow: hidden;
- }
- span {
- background: rgba(30, 167, 115, 0.7);
- height: 100%;
- width: 0;
- border-radius: 25px;
- position: absolute;
- left: 0;
- bottom: 0;
- z-index: -1;
- transition: 0.5s;
- }
- #magicButton:hover span {
- width: 110%;
- height: 54px;
- }
- #magicButton:hover {
- border: none;
- }
- /* contact.html - ay, you should make it better!*/
- .SocialMedia {
- width: 300px;
- margin-left: 70%;
- margin-top: 30%;
- padding: 35px;
- display: flex;
- align-items: center;
- }
- .SocialMedia ul li {
- display: inline-block;
- margin: 0 20px;
- position: relative;
- }
- .SocialMedia ul li a {
- color: white;
- }
Advertisement
Add Comment
Please, Sign In to add comment