232 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			232 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
body {
 | 
						|
    margin: 0;
 | 
						|
 | 
						|
    display: flex;
 | 
						|
    flex-wrap: wrap;
 | 
						|
    justify-content: center;
 | 
						|
 | 
						|
    background-size: cover;
 | 
						|
    background-repeat: no-repeat;
 | 
						|
    background-image: url("./images/background.jpg");
 | 
						|
}
 | 
						|
 | 
						|
#title {
 | 
						|
    margin-top: 1vh;
 | 
						|
    width: 100%;
 | 
						|
    display: flex;
 | 
						|
    justify-content: center;
 | 
						|
}
 | 
						|
 | 
						|
#mobile-title {
 | 
						|
    display: none;
 | 
						|
}
 | 
						|
 | 
						|
#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;
 | 
						|
}
 | 
						|
 | 
						|
#chat-button {
 | 
						|
    position: absolute;
 | 
						|
    right: 3vh;
 | 
						|
    bottom: 3vh;
 | 
						|
 | 
						|
    height: 100px;
 | 
						|
    width: 100px;
 | 
						|
    border-radius: 50%;
 | 
						|
    background-color: white;
 | 
						|
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    justify-content: center;
 | 
						|
}
 | 
						|
 | 
						|
#chat-button > img {
 | 
						|
    height: 60px;
 | 
						|
    width: 60px;
 | 
						|
}
 | 
						|
 | 
						|
#chat {
 | 
						|
    height: 60vh;
 | 
						|
    width: 30vw;
 | 
						|
 | 
						|
    position: absolute;
 | 
						|
    bottom: 0;
 | 
						|
    right: 0;
 | 
						|
 | 
						|
    display: none;
 | 
						|
    padding: 1.5vh;
 | 
						|
    border-radius: 30px 0px 0px 0px; 
 | 
						|
    background-color: white;
 | 
						|
}
 | 
						|
 | 
						|
#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);
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
.swiper {
 | 
						|
    width: 500px;
 | 
						|
    height: 400px;
 | 
						|
    margin-top: 20vh;
 | 
						|
}
 | 
						|
 | 
						|
.photo-container {
 | 
						|
    width: 500px;
 | 
						|
    height: 400px;
 | 
						|
 | 
						|
    display: flex;
 | 
						|
    justify-content: center;
 | 
						|
    align-content: center;
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
.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;
 | 
						|
}
 | 
						|
 | 
						|
.petpet-denis {
 | 
						|
    display: none;
 | 
						|
}
 | 
						|
 | 
						|
@media screen and (max-width: 1024px) {
 | 
						|
 | 
						|
    body {
 | 
						|
        overflow-y: hidden;
 | 
						|
        background-image: url("./images/mobile-background.jpg");
 | 
						|
    }
 | 
						|
 | 
						|
    #title {
 | 
						|
        display: none;
 | 
						|
    }
 | 
						|
 | 
						|
    #mobile-title {
 | 
						|
        display: flex;
 | 
						|
    }
 | 
						|
 | 
						|
    #chat-button  {
 | 
						|
        height: 60px;
 | 
						|
        width: 60px;
 | 
						|
 | 
						|
        bottom: 5vh;
 | 
						|
    }
 | 
						|
 | 
						|
    #chat-button > img {
 | 
						|
        z-index: 9998;
 | 
						|
        height: 30px;
 | 
						|
        width: 30px;
 | 
						|
    }
 | 
						|
 | 
						|
    #chat {
 | 
						|
        z-index: 9999;
 | 
						|
        height: 100vh;
 | 
						|
        width: 100vw;
 | 
						|
 | 
						|
        border-radius: 0px 0px 0px 0px; 
 | 
						|
    } 
 | 
						|
 | 
						|
    #messages {
 | 
						|
        margin-top: 15vh;
 | 
						|
        padding-left: 5vw;
 | 
						|
        height: 70vh;
 | 
						|
        width: 95vw;
 | 
						|
    }
 | 
						|
 | 
						|
    #message-input {
 | 
						|
        margin-left: 5vw;
 | 
						|
        width: 60vw;
 | 
						|
    }
 | 
						|
 | 
						|
    .photo-container {
 | 
						|
        width: 300px;
 | 
						|
        height: 300px;
 | 
						|
        margin-left: 15vw;
 | 
						|
    }
 | 
						|
}
 | 
						|
 |