Files
DenisSlider2000/src/style.css

227 lines
3.4 KiB
CSS
Raw Normal View History

2022-04-07 16:03:53 +02:00
body {
2022-04-12 09:39:04 +02:00
margin: 0;
2022-04-07 16:03:53 +02:00
display: flex;
flex-wrap: wrap;
justify-content: center;
background-size: cover;
background-repeat: no-repeat;
2022-04-07 18:14:55 +02:00
background-image: url("./images/background.jpg");
2022-04-07 16:03:53 +02:00
}
#title {
2022-04-12 10:25:14 +02:00
margin-top: 1vh;
2022-04-07 16:03:53 +02:00
width: 100%;
display: flex;
justify-content: center;
}
#mobile-title {
display: none;
}
2022-04-07 19:09:47 +02:00
#swiper-container {
width: 100%;
display: flex;
justify-content: center;
}
#counter-container {
display: flex;
margin-top: 5vh;
justify-content: center;
}
#counter-container > span {
color: white;
font-weight: bold;
font-size: large ;
font-family: sans-serif;
}
2022-04-12 09:39:04 +02:00
#chat-button {
position: absolute;
right: 3vh;
bottom: 3vh;
height: 100px;
width: 100px;
border-radius: 50%;
background-color: white;
2022-04-12 10:25:14 +02:00
display: flex;
align-items: center;
justify-content: center;
2022-04-12 09:39:04 +02:00
}
#chat-button > img {
2022-04-12 10:25:14 +02:00
height: 60px;
width: 60px;
2022-04-12 09:39:04 +02:00
}
#chat {
height: 60vh;
width: 30vw;
position: absolute;
bottom: 0;
right: 0;
display: none;
2022-04-12 10:25:14 +02:00
padding: 1.5vh;
border-radius: 30px 0px 0px 0px;
2022-04-12 09:39:04 +02:00
background-color: white;
}
2022-04-12 10:25:14 +02:00
#messages {
height: 50vh;
padding: 0;
list-style: none;
overflow-y: scroll;
font-family: sans-serif;
}
#message-input {
padding: 1vh;
width: 20vw;
}
#send {
height: 30px;
margin-left: 5px;
transform: translateY(10px);
}
#close {
height: 30px;
margin-left: 5px;
transform: translateY(10px);
}
2022-04-07 16:03:53 +02:00
.swiper {
width: 500px;
height: 400px;
margin-top: 20vh;
}
.photo-container {
width: 500px;
height: 400px;
display: flex;
justify-content: center;
align-content: center;
}
2022-04-26 21:52:01 +02:00
.is-received {
position: relative;
background: #e5e5ea;
border-radius: .4em;
width: 90%;
padding: 0.5vh;
margin: 1vh;
margin-left: 20px;
min-height: 30px;
}
.is-received::after {
content: "";
position: absolute;
left: -10px;
top: 50%;
width: 10px;
height: 0;
border: 1.281em solid transparent;
border-right-color: #e5e5ea;
border-left: 0;
border-top: 0;
margin-top: -0.641em;
margin-left: -1.281em;
}
.is-sended {
position: relative;
background: #007bff;
border-radius: .4em;
width: 90%;
padding: 0.5vh;
margin: 1vh;
margin-left: 20px;
min-height: 30px;
}
.is-sended::after {
content: "";
position: absolute;
right: 0;
top: 50%;
width: 0;
height: 0;
border: 0.625em solid transparent;
border-left-color: #007bff;
border-right: 0;
border-bottom: 0;
margin-top: -0.312em;
margin-right: -0.625em;
}
2022-04-07 16:03:53 +02:00
@media screen and (max-width: 1024px) {
2022-04-07 17:37:13 +02:00
body {
2022-04-12 10:25:14 +02:00
overflow-y: hidden;
2022-04-07 18:14:55 +02:00
background-image: url("./images/mobile-background.jpg");
2022-04-07 17:37:13 +02:00
}
2022-04-07 16:03:53 +02:00
#title {
display: none;
}
#mobile-title {
2022-04-07 17:37:13 +02:00
display: flex;
}
2022-04-12 10:25:14 +02:00
#chat-button {
height: 60px;
width: 60px;
bottom: 5vh;
}
#chat-button > img {
z-index: 9998;
height: 30px;
width: 30px;
}
2022-04-12 09:39:04 +02:00
#chat {
z-index: 9999;
height: 100vh;
width: 100vw;
2022-04-12 10:25:14 +02:00
border-radius: 0px 0px 0px 0px;
}
#messages {
2022-04-12 13:29:46 +02:00
margin-top: 15vh;
2022-04-12 10:25:14 +02:00
padding-left: 5vw;
2022-04-12 13:29:46 +02:00
height: 70vh;
2022-04-12 10:25:14 +02:00
width: 95vw;
}
#message-input {
margin-left: 5vw;
width: 60vw;
2022-04-12 09:39:04 +02:00
}
2022-04-07 17:37:13 +02:00
.photo-container {
width: 300px;
height: 300px;
margin-left: 15vw;
2022-04-07 16:03:53 +02:00
}
}