diff options
| author | Bobby <[email protected]> | 2022-08-03 00:01:04 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-08-03 00:01:04 +0530 |
| commit | d2e3003f1f167a4f5d0721fd44be445d84ad1a61 (patch) | |
| tree | e8fea7e566440b9f752870dbe7e53d9706048544 /static | |
| parent | 264072bcdf9812c93916ff7042716b1ec5e3b9e0 (diff) | |
| download | thatcomputerscientist-d2e3003f1f167a4f5d0721fd44be445d84ad1a61.tar.xz thatcomputerscientist-d2e3003f1f167a4f5d0721fd44be445d84ad1a61.zip | |
Moved static to root directory
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/main.css | 161 | ||||
| -rw-r--r-- | static/images/favicons/android-chrome-192x192.png | bin | 0 -> 22940 bytes | |||
| -rw-r--r-- | static/images/favicons/android-chrome-512x512.png | bin | 0 -> 99299 bytes | |||
| -rw-r--r-- | static/images/favicons/apple-touch-icon.png | bin | 0 -> 20759 bytes | |||
| -rw-r--r-- | static/images/favicons/favicon-16x16.png | bin | 0 -> 612 bytes | |||
| -rw-r--r-- | static/images/favicons/favicon-32x32.png | bin | 0 -> 1514 bytes | |||
| -rw-r--r-- | static/images/favicons/favicon.ico | bin | 0 -> 15406 bytes | |||
| -rw-r--r-- | static/images/favicons/favicon.png | bin | 0 -> 26043 bytes | |||
| -rw-r--r-- | static/images/favicons/site.webmanifest | 1 | ||||
| -rw-r--r-- | static/images/logo.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 00000000..e9d9c66c --- /dev/null +++ b/static/images/favicons/android-chrome-192x192.png diff --git a/static/images/favicons/android-chrome-512x512.png b/static/images/favicons/android-chrome-512x512.png Binary files differnew file mode 100644 index 00000000..7a2d8305 --- /dev/null +++ b/static/images/favicons/android-chrome-512x512.png diff --git a/static/images/favicons/apple-touch-icon.png b/static/images/favicons/apple-touch-icon.png Binary files differnew file mode 100644 index 00000000..4d1c7a33 --- /dev/null +++ b/static/images/favicons/apple-touch-icon.png diff --git a/static/images/favicons/favicon-16x16.png b/static/images/favicons/favicon-16x16.png Binary files differnew file mode 100644 index 00000000..ccab5501 --- /dev/null +++ b/static/images/favicons/favicon-16x16.png diff --git a/static/images/favicons/favicon-32x32.png b/static/images/favicons/favicon-32x32.png Binary files differnew file mode 100644 index 00000000..59f8e353 --- /dev/null +++ b/static/images/favicons/favicon-32x32.png diff --git a/static/images/favicons/favicon.ico b/static/images/favicons/favicon.ico Binary files differnew file mode 100644 index 00000000..db7a682d --- /dev/null +++ b/static/images/favicons/favicon.ico diff --git a/static/images/favicons/favicon.png b/static/images/favicons/favicon.png Binary files differnew file mode 100644 index 00000000..67ff62f2 --- /dev/null +++ b/static/images/favicons/favicon.png 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 Binary files differnew file mode 100644 index 00000000..56366c3d --- /dev/null +++ b/static/images/logo.png |
