Spaces:
Running
Running
/* Подключаем шрифт через Google Fonts */ | |
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap'); | |
/* Фон для страницы */ | |
body { | |
background-image: url('file:///Users/ser/ds_bootcamp/streamlit/movie_seeker/converted_image.png'); | |
background-size: cover; | |
background-position: center; | |
margin: 0; | |
padding: 0; | |
} | |
/* Стили для текста */ | |
.title { | |
font-family: 'Russo One', sans-serif; | |
font-size: 80px; | |
text-align: center; | |
color: white; | |
margin-top: 10px; | |
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); | |
} | |
/* Стили для окна ввода текста */ | |
textarea { | |
margin-top: 40px; | |
width: 100%; | |
padding: 10px; | |
font-size: 16px; | |
border-radius: 5px; | |
border: 1px solid #ccc; | |
background-color: #f4f4f4; | |
} | |
/* Стили для кнопки */ | |
.stCustomButton { | |
background-color: #f08b29; | |
color: white; | |
font-size: 18px; | |
padding: 12px 24px; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
transition: background-color 0.3s ease, transform 0.3s ease; | |
} | |
.stCustomButton:hover { | |
background-color: #d9791e; | |
transform: translateY(-3px); | |
} | |
.stCustomButton:active { | |
background-color: #bc6a0a; | |
transform: translateY(0); | |
} | |
/* Стили для фона в шапке */ | |
.header-image { | |
width: 100%; | |
height: 300px; | |
background-image: url('/Users/ser/ds_bootcamp/streamlit/movie_seeker/Unknown-2.png'); | |
background-size: cover; | |
background-position: center; | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: -1; | |
} | |