chat_front_svelte/src/app.html

192 lines
3.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="image/BP_PB.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
<style lang="scss">
::-webkit-scrollbar-thumb {
background: linear-gradient(45deg, var(--blue), var(--purple));
background-repeat: no-repeat;
background-attachment: fixed;
border-radius: 15px;
}
::-webkit-scrollbar {
width: 3px;
}
@font-face {
font-family: 'Comfortaa';
src: url('./fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
font-weight: 1 1000; /* Объявляем диапазон веса шрифта */
font-style: normal;
font-stretch: normal;
}
:root{
--bg: #101010;
--gradient: linear-gradient(to bottom, #3C53FF, #7734AA);
--fontColor: #FFFFFF;
--purple: #7734AA;
--blue: #3C53FF;
--disable: #D15555;
font-family: Comfortaa;
}
html,body{
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-color: var(--bg);
}
*{
font-family: Comfortaa;
margin: 0;
}
h1,h2,h3,h4,h5,p{
color:var(--fontColor);
cursor: default;
}
select {
min-width: 50px;
width: 8rem;
display: flex;
justify-content: center;
text-align: center;
font-size: 24px;
font-weight: 300;
overflow: auto;
}
option {
background-color: var(--bg);
border: 0;
}
button{
text-shadow: 0 0 20px white;
font-size: 36px;
background: transparent;
border: 0;
height: 10%;
transition: 0.15s ease-in;
}
button:disabled{
color: rgba(255, 255, 255, 0.329);
text-shadow: 0 0 20px rgba(0, 0, 0, 0.322);
}
button,
select,
option {
cursor: pointer;
}
h1,
h3,
input,
select,
button,
textarea {
color: var(--fontColor);
}
h1 {
display: flex;
justify-content: center;
align-items: center;
text-shadow: 0 0 20px white;
font-size: 48px;
height: 10%;
}
h3 {
font-weight: 100;
font-size: 24px;
}
p {
font-size: 20px;
font-weight: 100;
}
textarea{
font-size: 20px;
}
.noiseGif {
position: relative;
width: 100%;
height: 100%;
display: flex;
box-shadow: 4px 4px 11px rgba(#000000, 0.4);
border-radius: 15px;
}
.noiseGif::before {
content: '';
background-image: url(../noise.gif);
opacity: 0.011;
width: 100%;
height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
border-radius: 15px;
}
.noisePic {
position: relative;
width: 100%;
height: 100%;
display: flex;
box-shadow: 4px 4px 11px rgba(#000000, 0.4);
border-radius: 15px;
}
.noisePic::before {
content: '';
background-image: url(../noise.png);
opacity: 0.811;
width: 100%;
height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
border-radius: 15px;
}
.backgroundBlur{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
z-index: 4;
}
</style>
</html>