Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: fixed;
- width: 100%;
- height: 70px;
- padding: 0 20px;
- background-color: white;
- top: 0;
- left: 0;
- }
- .topnav{
- width: 100%;
- height: calc(100vh / 10);
- background-color: #2B78E4;
- display: flex;
- align-items: center;
- /*justify-content: space-between;*/
- }
- .topnav a{
- text-decoration: none;
- color: black;
- font-family: "Helvetica", sans-serif;
- }
- .helmet-logo {
- width: 70px;
- height: 70px;
- }
- /* Dropdown Button */
- .dropbtn {
- background-color: #fff1f1;
- color: Black;
- padding: 8px 16px;
- }
- /* The container <div> - needed to position the dropdown content */
- .dropdown {
- position: relative;
- display: inline-block;
- padding: 8px 16px;
- font-style: inherit;
- }
- /* Dropdown Content (Hidden by Default) */
- .dropdown-content {
- display: none;
- position: absolute;
- background-color: #f1f1f1;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- }
- /* Links inside the dropdown */
- .dropdown-content a {
- color: black;
- padding: 12px 16px;
- text-decoration: none;
- display: block;
- }
- /* Change color of dropdown links on hover */
- .dropdown-content a:hover {background-color: #ddd;}
- /* Show the dropdown menu on hover */
- .dropdown:hover .dropdown-content {
- display: block;
- }
- /* Change the background color of the dropdown button when the dropdown content is shown */
- .dropdown:hover .dropbtn {
- background-color: #f6f6f6;
- }
- .nav-btn{
- background-color: #fff1f1;
- color: Black;
- padding: 8px 16px;
- }
- #login-btn{
- position: relative;
- display: inline-block;
- float: right;
- }
- #signUp-btn{
- position: relative;
- display: inline-block;
- float: right;;
- padding-left: 20px;
- }
- #login-btn, #signUp-btn {
- float: right;
- }
- #teams-btn{
- position: relative;
- padding-left: 20px;
- }
- body {
- margin: 0;
- padding: 0;
- font-family: "Helvetica", sans-serif;
- }
- .title-span{
- padding-left: calc(10vw/2);
- display: inline-block;
- }
- h1{
- background-color: #dddddd;
- display: inline-block;
- padding-left: calc(50vw/2);
- }
- h2{
- background-color: #dddddd;
- display: inline-block;
- padding-left: 40px;
- }
- .main{
- background-color: #3030F1;
- background-image: url("field-banner.jpg");
- background-position: center;
- background-size: cover;
- margin: 0;
- padding-top: 400px;
- padding-bottom: 400px;
- }
- footer {
- background-color: #999999;
- background-size: 50px;
- height : calc(100vh/8);
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .footer-links {
- /* Set the display property to flex */
- display: flex;
- /* Align the links vertically */
- align-items: center;
- }
- .footer-links a {
- /* Set the color of the links */
- color: black;
- /* Add some margin to the right of the links */
- margin-left: 20px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement