Change background and text colors

This commit is contained in:
Ceda EI 2020-12-21 20:37:24 +05:30
parent 9b05dd44b6
commit 441740b670
2 changed files with 13 additions and 11 deletions

View File

@ -1,11 +1,9 @@
* { * {
padding:0px; padding:0px;
margin:0px; margin:0px;
} }
header{ header{
padding-top: 30px; padding-top: 30px;
padding-right: 30px; padding-right: 30px;
padding-left: 30px; padding-left: 30px;
@ -13,18 +11,24 @@ header{
font-weight: bolder; font-weight: bolder;
font-size: 30px; font-size: 30px;
color: white; color: white;
} }
body{ body{
background:url("https://images.unsplash.com/photo-1485579149621-3123dd979885?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1489&q=80"); background: url("background.jpg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
opacity: 0.5; background-position: left;
color: white;
min-height: 100vh;
} }
.container{ .container{
margin:10px 10px; margin: 10px 10px;
padding: 20px; width: calc(100% - 20px);
display: flex;
justify-content: center;
} }
input[type=text]{ input[type=text]{
width:43%; width:43%;
background: white; background: white;
@ -104,6 +108,7 @@ h1{
.content-table tbody tr:nth-of-type(even) { .content-table tbody tr:nth-of-type(even) {
background-color: rgba(243, 243, 243, 0.7); background-color: rgba(243, 243, 243, 0.7);
color: #000;
} }
.content-table tbody tr:last-of-type { .content-table tbody tr:last-of-type {
@ -122,7 +127,4 @@ h1{
} }
.button-dec { .button-dec {
width: 100%;
display: flex;
justify-content: center;
} }

BIN
static/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB