aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/css/main.css162
-rw-r--r--static/images/banner.pngbin0 -> 237640 bytes
-rw-r--r--static/images/bg.jpegbin0 -> 131609 bytes
3 files changed, 78 insertions, 84 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 35fe5b56..ff2a33bd 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -1,26 +1,67 @@
-/* making a sidebar layout with 20% sidebar */
body {
+ background-image: url("../images/bg.jpeg");
+ background-size: cover;
+ background-repeat: no-repeat;
+ background-attachment: fixed;
+ background-position: center;
+ font-family: serif;
+ padding: 0;
+ margin: 0;
+ min-height: calc(100vh);
+ text-align: center;
+}
+
+.header {
+ background-image: url("../images/banner.png");
+ background-size: contain;
+ background-repeat: no-repeat;
+ background-position: center;
+ width: 1000px;
+ height: 300px;
+ margin: auto;
+}
+
+.mc {
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
- min-height: calc(100vh);
- background-color: #fafafa;
- padding: 0;
- min-width: calc(100vw - 16px);
- width: 100%;
- font-family: serif;
- margin: 0;
- padding: 0;
+ width: 1000px;
+ border: solid 1px cecece;
+ padding: 2px;
+ text-align: initial;
}
.sidebar {
- padding: 20px;
+ /* padding: 20px; */
overflow-x: hidden;
overflow-y: auto;
min-width: 15rem;
max-width: 15rem;
}
+/* COLORS SECTION ACCORIDING TO DARK MODE */
+
+h1, h2, h3, h4, h5, h6, p, a, li, span, label, footer, .table {
+ color: #cecece;
+}
+
+a {
+ color: #8278ed;
+}
+/*
+a:visited {
+ color: #b894dc;
+} */
+
+svg {
+ filter: invert(1);
+}
+
+fieldset, legend {
+ color: #cecece;
+}
+
+
.sidebar-lg {
min-width: 20rem;
max-width: 20rem;
@@ -31,20 +72,20 @@ body {
}
.sidebar-border {
- border: 1px solid #191919;
+ border: 1px solid #e6e6e6;
}
.content {
flex: 1;
- padding: 20px;
+ padding: 9px 20px 20px 20px;
overflow-x: hidden;
overflow-y: auto;
min-height: calc(100vh - 40px);
}
.title:visited {
- color: #000;
+ color: #cecece;
}
.title > h1 {
@@ -66,9 +107,9 @@ body {
}
.alert {
- background-color: #ffd4bd;
+ background-color: #0c1221;
padding: 20px;
- border: 1px solid #191919;
+ border: 1px solid #cecece;
}
lebel, input, textarea, select {
@@ -78,12 +119,17 @@ lebel, input, textarea, select {
font-size: 16px;
}
+input, textarea {
+ background-color: rgb(17, 17, 17);
+ color: #cecece;
+}
+
input[type = 'submit'] {
margin-top: 10px;
}
fieldset {
- border: 1px solid #191919;
+ border: 1px solid #cecece;
padding: 10px 20px;
}
@@ -103,7 +149,7 @@ nav > ul > li {
.login-box {
padding: 20px;
- border: 1px solid #191919;
+ border: 1px solid #cecece;
}
.login-box > p {
@@ -112,7 +158,7 @@ nav > ul > li {
}
.error {
- color: red;
+ color: rgb(255, 81, 81);
}
.success {
@@ -120,16 +166,16 @@ nav > ul > li {
}
.alert.success {
- background-color: #d4ffbd;
+ color: #d4ffbd;
padding: 10px;
- color: rgb(5, 74, 5);
+ background-color: rgb(5, 74, 5);
font-weight: bold;
}
.alert.error {
- background-color: #ffbdbd;
+ color: #ffbdbd;
padding: 10px;
- color: rgb(74, 5, 5);
+ background-color: rgb(74, 5, 5);
font-weight: bold;
}
@@ -153,19 +199,15 @@ nav > ul > li {
}
.errorbox {
- background-color: #ffd4bd;
+ background-color: #191919;
padding: 20px;
- border: 1px solid #191919;
+ border: 1px solid #ffd4bd;
}
.errorbox > h1 {
margin-top: 0;
}
-.hamburger {
- display: none;
-}
-
#captcha {
display: flex;
flex-direction: row;
@@ -197,11 +239,11 @@ nav > ul > li {
/* Add borders to all cells */
.table, .table th, .table td {
- border: 1px solid #191919;
+ border: 1px solid #cecece;
}
.table-striped > tbody > tr:nth-child(odd) {
- background-color: #f2f2f2;
+ background-color: #0000007a;
}
summary {
@@ -226,18 +268,18 @@ summary {
}
.label-success {
- background-color: #d4ffbd;
- color: rgb(5, 74, 5);
+ color: #d4ffbd;
+ background-color: rgb(5, 74, 5);
}
.label-error {
- background-color: #ffbdbd;
- color: rgb(74, 5, 5);
+ color: #ffbdbd;
+ background-color: rgb(74, 5, 5);
}
.label-warning {
- background-color: #ffd4bd;
- color: rgb(74, 5, 5);
+ color: #ffd4bd;
+ background-color: rgb(74, 5, 5);
}
.comment {
@@ -272,51 +314,3 @@ summary {
max-height: 50vh;
max-width: 100%;
}
-
-/* Optimize for phones */
-@media only screen and (max-width: 480px) {
- body {
- flex-direction: column;
- }
-
- .account {
- flex-direction: column;
- }
-
- .sidebar, .sidebar-lg {
- min-width: calc(100vw - 42px)
- }
-
- .hamburger {
- display: block;
- position: absolute;
- right: 20px;
- }
- .title > img {
- position: relative;
- left: -5.9rem;
- top: -3px;
- }
-
- .lgn-area {
- display: none;
- }
-
- .lgn-area-open {
- display: block;
- }
-
- .table {
- width: 100%;
- table-layout: fixed;
- word-wrap: break-word;
- }
-
- .float-right {
- position: initial;
- }
-
- .content {
- min-height: auto;
- }
-}
diff --git a/static/images/banner.png b/static/images/banner.png
new file mode 100644
index 00000000..5fd3f5ae
--- /dev/null
+++ b/static/images/banner.png
Binary files differ
diff --git a/static/images/bg.jpeg b/static/images/bg.jpeg
new file mode 100644
index 00000000..396e3bca
--- /dev/null
+++ b/static/images/bg.jpeg
Binary files differ