Refactor
This commit is contained in:
BIN
src/static/humid.png
Normal file
BIN
src/static/humid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
BIN
src/static/rain.png
Normal file
BIN
src/static/rain.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
132
src/static/style.css
Normal file
132
src/static/style.css
Normal file
@@ -0,0 +1,132 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Arial;
|
||||
background-color: #3498DB;
|
||||
padding: 50px;
|
||||
font-size: 0.7em;
|
||||
font-weight: 200;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
|
||||
.login {
|
||||
margin: 20px auto;
|
||||
width: 300px;
|
||||
}
|
||||
.login-screen {
|
||||
background-color: #FFF;
|
||||
padding: 20px;
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
.app-title {
|
||||
text-align: center;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
text-align: center;
|
||||
}
|
||||
.control-group {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
background-color: #ECF0F1;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 3px;
|
||||
font-size: 16px;
|
||||
font-weight: 200;
|
||||
padding: 10px 0;
|
||||
width: 250px;
|
||||
transition: border .5s;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
border: 2px solid #3498DB;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border: 2px solid transparent;
|
||||
background: #3498DB;
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
line-height: 25px;
|
||||
padding: 10px 0;
|
||||
text-decoration: none;
|
||||
text-shadow: none;
|
||||
border-radius: 3px;
|
||||
box-shadow: none;
|
||||
transition: 0.25s;
|
||||
display: block;
|
||||
width: 250px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
p#signupparagraph {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-color: #2980B9;
|
||||
}
|
||||
|
||||
.login-link {
|
||||
font-size: 12px;
|
||||
color: #444;
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#cutsiegif{
|
||||
width:100%;
|
||||
height:90%;
|
||||
}
|
||||
|
||||
#logout{
|
||||
margin-top: 25px;
|
||||
left:50%;
|
||||
}
|
||||
|
||||
#error{
|
||||
font-size:16px;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.weatherimg{
|
||||
margin-top: 10px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
/* How to make it better - https://sarahleejane.github.io/learning/python/2015/08/09/simple-tables-in-webapps-using-flask-and-pandas-with-python.html */
|
||||
#gradestable{
|
||||
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
|
||||
border-bottom: 2px solid #eee;
|
||||
background-color: white;
|
||||
margin: auto;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.tableheader{
|
||||
background-color: #add8e6;
|
||||
color: white;
|
||||
border-bottom: 2px solid #eee;
|
||||
}
|
||||
|
||||
.graderow{
|
||||
font-size: 2.2em;
|
||||
padding: 10px;
|
||||
margin-bottom: 40px;
|
||||
background-color:rgba(229, 231, 238, 0.082);
|
||||
color: black;
|
||||
}
|
||||
BIN
src/static/temp.png
Normal file
BIN
src/static/temp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
Reference in New Issue
Block a user