поделал сайт, сделал orm-модели, requirements.txt
This commit is contained in:
+110
-23
@@ -1,52 +1,139 @@
|
||||
/* Global styles */
|
||||
body {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 30px;
|
||||
a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
form {
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Header styles */
|
||||
header {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 10px;
|
||||
nav ul {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
height: auto;
|
||||
width: auto;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
input[type="password"] {
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
background-color: #555;
|
||||
color: #fff;
|
||||
width: 100%;
|
||||
max-width: 300px; /* добавлено, чтобы форма не была слишком широкой */
|
||||
box-sizing: border-box; /* добавлено, чтобы input не выходил за границы родительского элемента */
|
||||
margin-bottom: 20px; /* добавлено, чтобы был отступ между input и кнопкой */
|
||||
nav li {
|
||||
margin-right: 20px;
|
||||
position: relative
|
||||
}
|
||||
|
||||
button[type="submit"] {
|
||||
nav a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
text-transform: uppercase
|
||||
}
|
||||
|
||||
.auth-buttons a {
|
||||
-webkit-appearance: button;
|
||||
-moz-appearance: button;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 25px; /* более округлая форма */
|
||||
border: none;
|
||||
background-color: #4CAF50;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 6px 0 #3e8e41; /* тень при наведении курсора */
|
||||
box-shadow: 0 5px 0 #3e8e41; /* тень при наведении курсора */
|
||||
transition: box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
button[type="submit"]:hover {
|
||||
.auth-buttons a:hover {
|
||||
box-shadow: 0 3px 0 #3e8e41;
|
||||
}
|
||||
|
||||
|
||||
/* Bot section styles */
|
||||
.bot-section {
|
||||
margin-top: 2rem;
|
||||
padding: 2rem;
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center
|
||||
}
|
||||
|
||||
|
||||
.bot-section h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
|
||||
.bot-image img {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
margin-bottom: 2rem
|
||||
}
|
||||
|
||||
|
||||
.bot-features h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem
|
||||
}
|
||||
|
||||
|
||||
.bot-features ul {
|
||||
margin-bottom: 2rem
|
||||
}
|
||||
|
||||
|
||||
.bot-features li {
|
||||
margin-bottom: .5rem
|
||||
}
|
||||
|
||||
|
||||
.bot-usage h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem
|
||||
}
|
||||
|
||||
|
||||
.bot-usage ol {
|
||||
margin-bottom: 2rem;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.bot-usage li {
|
||||
margin-bottom: .5rem
|
||||
}
|
||||
|
||||
.bot-feedback h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem
|
||||
}
|
||||
|
||||
/* Footer styles */
|
||||
footer {
|
||||
background-color: #1e1e1e;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
}
|
||||
Reference in New Issue
Block a user