Untitled
unknown
plain_text
2 years ago
4.0 kB
4
Indexable
/* Make the body take up the full screen */ body { margin: 0; padding: 0; } /* Style the header */ .header { background-color: #c7aa9f; color: white; padding: 15px; text-align: center; font-size: 24px; display: flex; /* Use flexbox to align items */ justify-content: space-evenly; /* Add space between header items */ align-items: center; /* Align items vertically in the center */ } /* Style the navigation links */ .header a { display: inline-block; border-radius: 5px; color: white; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 15px; } /* Style the navigation links on hover */ .header a:hover { background-color: #ddd; color: black; } /* Style the active/current link */ .header a.active { background-color: white; color: black; } /* Style the logo */ .logo { max-height: 70px; /* Adjust the size of the logo */ } h1 { font-size: 35px; font-weight: 600; color: black; font-family: open sans-serif; position: absolute; top: 25%; left: 18%; } h2 { font-size: 25px; font-weight: 700; color: black; font-family: open sans-serif; position: absolute; top: 35%; left: 0%; } /* Style the image */ img { max-width: 100%; max-height:100%; } .home_intro_text{ position:absolute; top:650px; left:850px; width:530px; font-size:19px; font-weight: 500; } .transparent-button { display: inline-block; color: black; text-align: center; padding: 14px 16px; font-size: 15px; background-color: #c7aa9f; margin-left: 160px; cursor: pointer; border-radius: 5px; } /* Add any additional styling as needed */ .transparent-button a:hover { background-color: #ddd; color: black; } footer { background-color: #c7aa9f; padding: 24px; color: white; text-align: center; font-size: 23px; margin-top: -4px; } /*Kontakti */ .map{ padding: 70px; } h3{ font-size: 30px; text-align: center; color: black; } .table_container{ position:absolute; left:45%; top: 35%; } table, th, td { border: 1px solid black; text-align: center; border-collapse: collapse; border-top: 2px solid #c7aa9f; border-left: none; border-right: none; border-bottom: none; } body { font-family: Arial, Helvetica, sans-serif; } * { box-sizing: border-box; } input[type=text], select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; } input[type=submit] { background-color: #c7aa9f; color: white; padding: 12px 20px; border: 1px; border-radius: 4px; cursor: pointer; } input[type=submit]:hover { background-color: #ddd; } .container { border-radius: 5px; background-color: #f2f2f2; padding: 90px; } /*About me page*/ h4{ text-align:center; font-size:30px; } .paco{ width: 30%; height:30%; padding:40px; margin-left:120px; } .paco img{ border-radius: 30px; } .text_about_me{ font-size: 18px; font-weight: 400; position: absolute; left: 50%; top: 35%; width: 500px; } h5{ font-size:30px; text-align:center; } .sources_text{ text-align: center; padding: 20px; font-size: 18px; margin-top: -30px; /* Responsive layout - makes the menu and logo stack on top of each other */ @media (max-width: 600px) { .header { flex-direction: column; } .header a { text-align: left; } }
Editor is loading...