First initial commit for test Django website
This commit is contained in:
111
static/css/style.css
Normal file
111
static/css/style.css
Normal file
@ -0,0 +1,111 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
background-color: black;
|
||||
color: whitesmoke;
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
nav {
|
||||
padding: 1rem;
|
||||
background-color: #44B78B;
|
||||
color: white;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #81dbb8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.banner {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.form-with-validation {
|
||||
font-size: 1rem;
|
||||
padding: 1rem;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.form-with-validation div {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.form-with-validation input {
|
||||
padding: 0.25rem;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.form-submit {
|
||||
padding: 0.5rem;
|
||||
border-radius: 10px;
|
||||
width: 125px;
|
||||
}
|
||||
|
||||
.helptext {
|
||||
font-size: 1rem;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.helptext ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.errorlist {
|
||||
color: #F00;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
.errorlist li::marker {
|
||||
content: '🚨 ';
|
||||
}
|
||||
|
||||
|
||||
.logout {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.logout-button {
|
||||
font-size: 2.5rem;
|
||||
background-color: rgb(0, 0, 0, 0);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.logout-button:hover {
|
||||
opacity: .85;
|
||||
}
|
||||
Reference in New Issue
Block a user