Files
PIbd-23_Baryshev_D.A._Inter…/contacts.css
2025-05-07 15:29:44 +04:00

213 lines
3.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
font-family: sans-serif;
}
body {
display: flex;
flex-direction: column;
font-size: 18px;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
min-height: 100vh;
}
a {
text-decoration: none;
color: #dbe2ef;
}
a:hover {
color: white;
}
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 90px;
display: flex;
align-items: center;
justify-content: space-between;
background: #112d4e;
color: #dbe2ef;
padding: 0 20px;
z-index: 1000;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
width: 60px;
height: 60px;
border-radius: 15px;
}
.header h1 {
font-size: 1.5em;
margin-left: 20px;
}
.menu {
display: flex;
align-items: center;
list-style: none;
}
.menu li {
margin-left: 20px;
position: relative;
}
.features-menu {
display: none;
flex-direction: column;
background: #b2d6ff;
border-radius: 5px;
position: absolute;
top: 40px;
left: 0;
z-index: 1;
padding: 10px 0;
}
.dropdown:hover .features-menu {
display: flex;
}
.features-menu li {
padding: 10px 20px;
text-align: center;
border-bottom: 1px solid #fff;
}
.features-menu li:last-child {
border-bottom: none;
}
.main {
flex: 1;
padding: 130px 20px 20px;
}
.table-wrapper {
width: 100%;
padding: 100px 10px;
}
table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
background-color: #f0f8ff;
color: #00264d;
font-size: 1rem;
}
caption {
font-weight: bold;
font-size: 1.2em;
margin-bottom: 10px;
}
th, td {
border: 1px solid #ccc;
padding: 10px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #00264d;
color: #b2d6ff;
}
.social-container {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.social {
display: flex;
align-items: center;
margin-right: 20px;
}
.social h2, .social h1 {
margin-left: 10px;
}
.contact-info {
text-align: right;
margin-left: auto;
}
@media (max-width: 768px) {
.header {
flex-direction: column;
align-items: flex-start;
height: auto;
padding: 10px;
}
.logo {
margin-bottom: 10px;
}
.logo img {
width: 45px;
height: 45px;
}
.header h1 {
font-size: 1.2em;
margin-left: 10px;
}
.menu {
flex-wrap: wrap;
gap: 5px;
font-size: 0.9em;
}
table {
font-size: 0.85rem;
}
th, td {
padding: 6px;
}
.footer {
flex-direction: column;
text-align: center;
}
.contact-info {
text-align: center;
margin-top: 10px;
}
}