aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-08-03 00:01:04 +0530
committerBobby <[email protected]>2022-08-03 00:01:04 +0530
commitd2e3003f1f167a4f5d0721fd44be445d84ad1a61 (patch)
treee8fea7e566440b9f752870dbe7e53d9706048544
parent264072bcdf9812c93916ff7042716b1ec5e3b9e0 (diff)
downloadthatcomputerscientist-d2e3003f1f167a4f5d0721fd44be445d84ad1a61.tar.xz
thatcomputerscientist-d2e3003f1f167a4f5d0721fd44be445d84ad1a61.zip
Moved static to root directory
-rw-r--r--static/css/main.css161
-rw-r--r--static/images/favicons/android-chrome-192x192.pngbin0 -> 22940 bytes
-rw-r--r--static/images/favicons/android-chrome-512x512.pngbin0 -> 99299 bytes
-rw-r--r--static/images/favicons/apple-touch-icon.pngbin0 -> 20759 bytes
-rw-r--r--static/images/favicons/favicon-16x16.pngbin0 -> 612 bytes
-rw-r--r--static/images/favicons/favicon-32x32.pngbin0 -> 1514 bytes
-rw-r--r--static/images/favicons/favicon.icobin0 -> 15406 bytes
-rw-r--r--static/images/favicons/favicon.pngbin0 -> 26043 bytes
-rw-r--r--static/images/favicons/site.webmanifest1
-rw-r--r--static/images/logo.pngbin0 -> 14822 bytes
10 files changed, 162 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css
new file mode 100644
index 00000000..cf534be3
--- /dev/null
+++ b/static/css/main.css
@@ -0,0 +1,161 @@
+/* making a sidebar layout with 20% sidebar */
+body {
+ 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;
+}
+
+.sidebar {
+ background-color: #bad9ff;
+ padding: 20px;
+ overflow-x: hidden;
+ overflow-y: auto;
+ border: 1px solid #191919;
+ min-width: 15rem;
+ max-width: 15rem;
+}
+
+.main {
+ flex: 1;
+ padding: 20px;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+.title:visited {
+ color: #000;
+}
+
+.title > h1 {
+ font-size: 1.2rem;
+ font-weight: bold;
+ margin-top: 0;
+}
+
+.title {
+ display: block;
+}
+
+.title > img {
+ width: 10rem;
+ height: 3.23rem;
+ display: block;
+ margin: 0px auto 10px auto;
+ pointer-events: none;
+}
+
+.alert {
+ background-color: #ffd4bd;
+ padding: 20px;
+ border: 1px solid #191919;
+}
+
+lebel, input, textarea, select {
+ display: block;
+ margin: 5px 0px;
+ font-family: serif;
+ font-size: 16px;
+}
+
+input[type = 'submit'] {
+ margin-top: 10px;
+}
+
+fieldset {
+ border: 1px solid #191919;
+ padding: 10px 20px;
+}
+
+nav > ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+
+nav > ul > li {
+ margin: 5px 0;
+}
+
+.center {
+ text-align: center;
+}
+
+.login-box {
+ padding: 20px;
+ border: 1px solid #191919;
+}
+
+.login-box > p {
+ margin-top: 0;
+ margin-bottom: 10px;
+}
+
+.error {
+ color: red;
+}
+
+.success {
+ color: green;
+}
+
+.alert.success {
+ background-color: #d4ffbd;
+ padding: 10px;
+ color: rgb(5, 74, 5);
+ font-weight: bold;
+}
+
+.alert.error {
+ background-color: #ffbdbd;
+ padding: 10px;
+ color: rgb(74, 5, 5);
+ font-weight: bold;
+}
+
+.account {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+}
+
+.ac-sidebar {
+ padding: 20px;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+.ac-main {
+ flex: 1;
+ padding: 20px;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+.errorbox {
+ background-color: #ffd4bd;
+ padding: 20px;
+ border: 1px solid #191919;
+}
+
+.errorbox > h1 {
+ margin-top: 0;
+}
+
+/* Optimize for phones */
+@media only screen and (max-width: 480px) {
+ body {
+ flex-direction: column;
+ }
+
+ .account {
+ flex-direction: column;
+ }
+}
diff --git a/static/images/favicons/android-chrome-192x192.png b/static/images/favicons/android-chrome-192x192.png
new file mode 100644
index 00000000..e9d9c66c
--- /dev/null
+++ b/static/images/favicons/android-chrome-192x192.png
Binary files differ
diff --git a/static/images/favicons/android-chrome-512x512.png b/static/images/favicons/android-chrome-512x512.png
new file mode 100644
index 00000000..7a2d8305
--- /dev/null
+++ b/static/images/favicons/android-chrome-512x512.png
Binary files differ
diff --git a/static/images/favicons/apple-touch-icon.png b/static/images/favicons/apple-touch-icon.png
new file mode 100644
index 00000000..4d1c7a33
--- /dev/null
+++ b/static/images/favicons/apple-touch-icon.png
Binary files differ
diff --git a/static/images/favicons/favicon-16x16.png b/static/images/favicons/favicon-16x16.png
new file mode 100644
index 00000000..ccab5501
--- /dev/null
+++ b/static/images/favicons/favicon-16x16.png
Binary files differ
diff --git a/static/images/favicons/favicon-32x32.png b/static/images/favicons/favicon-32x32.png
new file mode 100644
index 00000000..59f8e353
--- /dev/null
+++ b/static/images/favicons/favicon-32x32.png
Binary files differ
diff --git a/static/images/favicons/favicon.ico b/static/images/favicons/favicon.ico
new file mode 100644
index 00000000..db7a682d
--- /dev/null
+++ b/static/images/favicons/favicon.ico
Binary files differ
diff --git a/static/images/favicons/favicon.png b/static/images/favicons/favicon.png
new file mode 100644
index 00000000..67ff62f2
--- /dev/null
+++ b/static/images/favicons/favicon.png
Binary files differ
diff --git a/static/images/favicons/site.webmanifest b/static/images/favicons/site.webmanifest
new file mode 100644
index 00000000..58a15c20
--- /dev/null
+++ b/static/images/favicons/site.webmanifest
@@ -0,0 +1 @@
+{"name":"","short_name":"","icons":[{"src":"/static/images/favicons/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/static/images/favicons/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file
diff --git a/static/images/logo.png b/static/images/logo.png
new file mode 100644
index 00000000..56366c3d
--- /dev/null
+++ b/static/images/logo.png
Binary files differ