Files
PIbd-23_Sheymuhov_A.I._Inte…/styleStreamingService.css
2025-04-11 15:51:08 +04:00

236 lines
3.8 KiB
CSS

body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: "Helvetica", "Arial", sans-serif;
font-size: 18px;
margin: 0;
padding: 0;
background-color: #ade8f4;
}
h1 {
font-size: 1.5em;
margin: 20px auto;
}
h2 {
font-size: 1em;
margin: 20px auto;
text-align: left;
}
/* Мобильное устройство (ширина области отображения от 0 до 400px)*/
@media only screen and (max-width: 400px) {
body {
background-color: #ff0008;
width: fit-content;
}
h1 {
font-size: 1em;;
}
.header {
gap: 20px;
}
.navbar {
flex-direction: column;
align-self: center;
row-gap: 5px;
}
.navbar a {
height: 10px;
}
.avatar img {
width: 200px;
height: auto;
}
}
/* Планшет (ширина области отображения от 401 до 960px)*/
@media only screen and (min-width: 401px) and (max-width: 960px) {
body {
background-color: #ffa200;
width: fit-content;
}
.header {
gap: 20px;
}
}
/* ПК (ширина области отображения от 961 до inf px) */
/* @media only screen and (min-width: 961px) {
body {
background-color: #b2d6ff;
}
} */
.button {
color: #081c15;
background-color: #90e0ef;
font-weight: bold;
padding: 10px 5px;
text-align: center;
border: 2px solid #5d6063;
border-radius: 5px;
width: 150px;
box-sizing: border-box;
margin: 10px;
}
.blue-button {
background-color: #0077b6;
}
.button:hover {
background: #48cae4;
}
.blue-button:hover {
background: #016296;
}
.header {
display: flex;
top: 0;
left: 0;
height: 60px;
position: sticky;
background-color: #00b4d8;
color: #081c15;
align-items: center;
justify-content: space-between;
padding: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.header-logo {
display: flex;
align-items: center;
gap: 15px;
}
.header-logo img {
width: 50px;
height: auto;
}
.navbar {
display: flex;
justify-content: center;
column-gap: 15px;
margin-right: 20px;
}
.navbar a {
display: flex;
text-decoration: none;
width: fit-content;
align-items: center;
justify-content: center;
color: #081c15;
font-weight: bold;
background: #90e0ef;
padding: 8px 15px;
border-radius: 5px;
}
.navbar a:hover {
background: #48cae4;
}
.dropdown {
width: max-content;
position: relative;
}
.dropdown > span {
z-index: 2;
position: relative;
cursor: pointer;
}
.dropdown:hover .features-menu {
display: flex;
flex-direction: column;
background: #90e0ef;
border-radius: 5px;
padding-top: 20px;
position: absolute;
z-index: 1;
}
.features-menu {
display: none;
}
.content {
flex: 1;
padding: 10px 20px;
}
.avatar {
display: flex;
justify-content: left;
}
.photo-grid-container {
display: flex;
justify-content: center;
}
.photo-grid {
width: 100%;
display: flex;
justify-content: left;
align-items: center;
flex-wrap: wrap;
flex-direction: row;
}
.photo-grid img {
width: 256px;
height: 200px;
}
.photo-grid-item {
height: 200px;
background-color: #5995da;
align-items: center;
justify-self: center;
border: 2px solid #fff;
}
.footer {
height: 80px;
background-color: #023047;
text-align: center;
padding: 0 40px;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.company-name {
flex: 1; /* Занимает доступное пространство */
color: #ade8f4;
}
.footer-images {
display: flex;
gap: 20px;
padding: 10px;
}
.footer-image {
width: 60px;
height: auto;
}