118 lines
1.4 KiB
CSS
118 lines
1.4 KiB
CSS
|
|
body {
|
|
margin: 2px;
|
|
padding: 2px;
|
|
font-family: 'Whois';
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-block {
|
|
background-color: ;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
align-content: stretch;
|
|
}
|
|
|
|
form {
|
|
width: 100%;
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
input[type="submit"] {
|
|
background-color: white;
|
|
padding: 10px 50px;
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
width: 90%;
|
|
height: 500px;
|
|
font-family: 'Whois';
|
|
border-radius: 4px;
|
|
|
|
|
|
}
|
|
|
|
label {
|
|
font-size: x-large;
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
margin: 12px;
|
|
font-size: 3em;
|
|
}
|
|
|
|
|
|
input:invalid {
|
|
border: 2px dashed black;
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
input:valid {
|
|
border: 2px solid black;
|
|
border-radius: 4px;
|
|
width: 50%;
|
|
font-size: 1em;
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
font-family: "Whois";
|
|
src:url("../static/font/NectoMono-Regular.otf") ;
|
|
}
|
|
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
#works {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr ;
|
|
grid-gap: 1px;
|
|
justify-content: center;
|
|
margin: 1px;
|
|
|
|
}
|
|
|
|
|
|
#menu ul {
|
|
display: grid;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
grid-gap: 1px;
|
|
justify-content: center;
|
|
margin: 1px;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1920px) {
|
|
|
|
#works {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
|
|
grid-gap: 1px;
|
|
justify-content: center;
|
|
margin: 1px;
|
|
|
|
}
|