/* style.css */ | |
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
.dark-theme { | |
background-color: #222; | |
color: #fff; | |
} | |
header { | |
background-color: #333; | |
padding: 10px; | |
text-align: center; | |
display: flex; | |
align-items: center; | |
} | |
h1 { | |
margin: 0; | |
margin-left: 10px; /* Добавляем отступ для разделения иконки и заголовка */ | |
} | |
.icon { | |
width: 30px; | |
height: 30px; | |
} | |
nav { | |
background-color: #444; | |
padding: 10px; | |
} | |
.tabs { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: space-around; | |
} | |
.tabs li { | |
display: inline; | |
} | |
.tabs a { | |
text-decoration: none; | |
color: #fff; | |
padding: 10px; | |
margin: 5px; | |
border: 1px solid #555; | |
border-radius: 5px; | |
cursor: pointer; | |
transition: background-color 0.3s ease; | |
} | |
.tabs a:hover { | |
background-color: #555; | |
} | |
.tabs a.active { | |
background-color: #555; | |
} | |
main { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
margin: 20px; | |
} | |
iframe { | |
width: 100%; | |
height: calc(100vh - 150px); /* Вычитаем высоту заголовка и вкладок */ | |
} | |