Finished css and populating assignments database

parent 9a6517e0
No preview for this file type
body { body {
display: flex;
flex-direction: column;
font-family: Tahoma, sans-serif; font-family: Tahoma, sans-serif;
font-size: 20px;
background-color: darkgray; background-color: darkgray;
} }
...@@ -14,7 +18,7 @@ header { ...@@ -14,7 +18,7 @@ header {
} }
.course_block { .course_block {
border: 1px solid black; border: 2px solid black;
background-color: aliceblue; background-color: aliceblue;
padding: 1vh 2vw; padding: 1vh 2vw;
...@@ -25,11 +29,29 @@ header { ...@@ -25,11 +29,29 @@ header {
font-weight: bold; font-weight: bold;
} }
.link_button {
align-self: center;
width: min-content;
}
.button {
align-self: center;
width: min-content;
border: 2px solid black;
padding: 1vh 2vw;
margin: 1vh 2vw;
font-weight: bold;
font-size: 25px;
}
.assignment_page { .assignment_page {
border: 1px solid black; border: 2px solid black;
background-color: aliceblue; background-color: aliceblue;
padding: 1vh 2vw; padding: 3vh 2vw;
margin: 2vh 2vw; margin: 2vh 2vw;
display: grid; display: grid;
...@@ -64,4 +86,31 @@ header { ...@@ -64,4 +86,31 @@ header {
.score { .score {
font-weight: bold; font-weight: bold;
}
form {
display: grid;
grid-template-columns: min-content 2fr;
border: 2px solid black;
background-color: aliceblue;
padding: 3vh 2vw;
margin: 2vh 2vw;
}
form > label {
padding: 1vh 2vw;
font-weight: bold;
}
form > input, select {
margin: 1vh 1vw;
}
form > .button {
grid-column: 1 / 3;
justify-self: center;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment