diff options
Diffstat (limited to 'frontend/src/css')
| -rw-r--r-- | frontend/src/css/About.css | 16 | ||||
| -rw-r--r-- | frontend/src/css/Maplist.css | 2 | ||||
| -rw-r--r-- | frontend/src/css/Maps.css | 3 | ||||
| -rw-r--r-- | frontend/src/css/Sidebar.css | 65 | ||||
| -rw-r--r-- | frontend/src/css/UploadRunDialog.css | 47 |
5 files changed, 126 insertions, 7 deletions
diff --git a/frontend/src/css/About.css b/frontend/src/css/About.css new file mode 100644 index 0000000..f998699 --- /dev/null +++ b/frontend/src/css/About.css | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #about { | ||
| 2 | overflow: auto; | ||
| 3 | overflow-x: hidden; | ||
| 4 | position: relative; | ||
| 5 | |||
| 6 | width: calc(100% - 380px); | ||
| 7 | height: 100vh; | ||
| 8 | left: 350px; | ||
| 9 | |||
| 10 | padding-right: 30px; | ||
| 11 | |||
| 12 | font-size: 24px; | ||
| 13 | font-family: BarlowSemiCondensed-Regular; | ||
| 14 | color: #cdcfdf; | ||
| 15 | |||
| 16 | } \ No newline at end of file | ||
diff --git a/frontend/src/css/Maplist.css b/frontend/src/css/Maplist.css index bd1f646..230ac98 100644 --- a/frontend/src/css/Maplist.css +++ b/frontend/src/css/Maplist.css | |||
| @@ -107,7 +107,7 @@ h3 { | |||
| 107 | 107 | ||
| 108 | .difficulty-bar { | 108 | .difficulty-bar { |
| 109 | display: flex; | 109 | display: flex; |
| 110 | margin: 0px 10px; | 110 | margin: 15px 10px; |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | .difficulty-bar span { | 113 | .difficulty-bar span { |
diff --git a/frontend/src/css/Maps.css b/frontend/src/css/Maps.css index 335e0b2..d38eea5 100644 --- a/frontend/src/css/Maps.css +++ b/frontend/src/css/Maps.css | |||
| @@ -299,7 +299,7 @@ p>span.portal-count{font-weight: bold;font-size: 100px;vertical-align: -15%;} | |||
| 299 | 299 | ||
| 300 | 300 | ||
| 301 | #description>iframe{ | 301 | #description>iframe{ |
| 302 | margin: 4px; | 302 | margin: 20px; |
| 303 | float:right; | 303 | float:right; |
| 304 | border: 0; | 304 | border: 0; |
| 305 | border-radius: 24px; | 305 | border-radius: 24px; |
| @@ -311,6 +311,7 @@ p>span.portal-count{font-weight: bold;font-size: 100px;vertical-align: -15%;} | |||
| 311 | display: block; | 311 | display: block; |
| 312 | font-size: 21px; | 312 | font-size: 21px; |
| 313 | word-wrap: break-word; | 313 | word-wrap: break-word; |
| 314 | text-align: justify; | ||
| 314 | } | 315 | } |
| 315 | #description-text>b{font-size: inherit;} | 316 | #description-text>b{font-size: inherit;} |
| 316 | #description-text>a{font-size: inherit;color: #3c91e6;} | 317 | #description-text>a{font-size: inherit;color: #3c91e6;} |
diff --git a/frontend/src/css/Sidebar.css b/frontend/src/css/Sidebar.css index 34ede80..396f6ac 100644 --- a/frontend/src/css/Sidebar.css +++ b/frontend/src/css/Sidebar.css | |||
| @@ -10,22 +10,22 @@ | |||
| 10 | /* logo */ | 10 | /* logo */ |
| 11 | #logo{ | 11 | #logo{ |
| 12 | display: grid; | 12 | display: grid; |
| 13 | grid-template-columns: 60px 200px; | 13 | grid-template-columns: 60px 220px; |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | height: 80px; | 16 | height: 80px; |
| 17 | padding: 20px 0 20px 30px; | 17 | padding: 20px 0 20px 20px; |
| 18 | cursor: pointer; | 18 | cursor: pointer; |
| 19 | user-select: none; | 19 | user-select: none; |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | #logo-text{ | 22 | #logo-text{ |
| 23 | font-family: BarlowCondensed-Regular; | 23 | font-family: BarlowCondensed-Regular; |
| 24 | font-size: 42px; | 24 | font-size: 36px; |
| 25 | color: #FFF; | 25 | color: #FFF; |
| 26 | line-height: 38px; | 26 | line-height: 38px; |
| 27 | } | 27 | } |
| 28 | span>b{ | 28 | #logo-text>span>b{ |
| 29 | font-family: BarlowCondensed-Bold; | 29 | font-family: BarlowCondensed-Bold; |
| 30 | font-size: 56px; | 30 | font-size: 56px; |
| 31 | } | 31 | } |
| @@ -55,7 +55,7 @@ span>b{ | |||
| 55 | 55 | ||
| 56 | margin: 0 5px 0 5px; | 56 | margin: 0 5px 0 5px; |
| 57 | justify-items: left; | 57 | justify-items: left; |
| 58 | grid-template-rows: calc(100vh - 670px) 50px 50px 50px; | 58 | grid-template-rows: calc(100vh - 720px) 50px 50px 50px; |
| 59 | } | 59 | } |
| 60 | .sidebar-button>span{ | 60 | .sidebar-button>span{ |
| 61 | font-family: BarlowSemiCondensed-Regular; | 61 | font-family: BarlowSemiCondensed-Regular; |
| @@ -85,6 +85,61 @@ span>b{ | |||
| 85 | padding .3s; | 85 | padding .3s; |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | .logout-button{ | ||
| 89 | display: grid; | ||
| 90 | grid-template-columns: 50px auto; | ||
| 91 | place-items: left; | ||
| 92 | text-align: left; | ||
| 93 | |||
| 94 | background-color: inherit; | ||
| 95 | cursor: pointer; | ||
| 96 | border: none; | ||
| 97 | width: 310px; | ||
| 98 | height: 40px; | ||
| 99 | border-radius: 20px; | ||
| 100 | padding: 0.4em 0 0 11px; | ||
| 101 | |||
| 102 | transition: | ||
| 103 | width .3s, | ||
| 104 | background-color .15s, | ||
| 105 | padding .3s; | ||
| 106 | } | ||
| 107 | |||
| 108 | .submit-run-button { | ||
| 109 | display: grid; | ||
| 110 | grid-template-columns: 50px auto; | ||
| 111 | place-items: left; | ||
| 112 | text-align: left; | ||
| 113 | |||
| 114 | background-color: inherit; | ||
| 115 | cursor: pointer; | ||
| 116 | border: none; | ||
| 117 | width: 310px; | ||
| 118 | height: 40px; | ||
| 119 | border-radius: 20px; | ||
| 120 | padding: 0.4em 0 0 11px; | ||
| 121 | |||
| 122 | transition: | ||
| 123 | width .3s, | ||
| 124 | background-color .15s, | ||
| 125 | padding .3s; | ||
| 126 | background-color: #202232aa; | ||
| 127 | } | ||
| 128 | |||
| 129 | .submit-run-button:hover { | ||
| 130 | background-color: #202232; | ||
| 131 | } | ||
| 132 | |||
| 133 | |||
| 134 | .submit-run-button>span{ | ||
| 135 | font-family: BarlowSemiCondensed-Regular; | ||
| 136 | font-size: 18px; | ||
| 137 | color: #CDCFDF; | ||
| 138 | height: 32px; | ||
| 139 | line-height: 28px; | ||
| 140 | transition: opacity .1s; | ||
| 141 | } | ||
| 142 | |||
| 88 | .sidebar-button-selected { | 143 | .sidebar-button-selected { |
| 89 | background-color: #202232; | 144 | background-color: #202232; |
| 90 | } | 145 | } |
diff --git a/frontend/src/css/UploadRunDialog.css b/frontend/src/css/UploadRunDialog.css new file mode 100644 index 0000000..60f0a28 --- /dev/null +++ b/frontend/src/css/UploadRunDialog.css | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | div#upload-run{ | ||
| 2 | position: absolute; | ||
| 3 | left: 50%; | ||
| 4 | z-index: 20; | ||
| 5 | width: 320px; height: auto; | ||
| 6 | /* background-color: red; */ | ||
| 7 | |||
| 8 | transform: translateY(-68%); | ||
| 9 | } | ||
| 10 | |||
| 11 | |||
| 12 | #upload-run-menu{ | ||
| 13 | position: absolute; | ||
| 14 | left: calc(50% + 160px); top: 130px; | ||
| 15 | transform: translateX(-50%); | ||
| 16 | background-color: #2b2e46; | ||
| 17 | z-index: 2; color: white; | ||
| 18 | } | ||
| 19 | |||
| 20 | #upload-run-menu-add, | ||
| 21 | #upload-run-menu-edit{ | ||
| 22 | box-shadow: 0 0 40px 16px black; | ||
| 23 | outline: 8px solid #2b2e46; | ||
| 24 | border-radius: 20px; | ||
| 25 | font-size: 40px; | ||
| 26 | display: grid; | ||
| 27 | grid-template-columns: 20% 20% 20% 20% 20%; | ||
| 28 | } | ||
| 29 | |||
| 30 | #upload-run-menu-add>div, | ||
| 31 | #upload-run-menu-edit>div{ | ||
| 32 | display: grid; | ||
| 33 | margin: 20px; | ||
| 34 | width: 200px; | ||
| 35 | font-size: 20px; | ||
| 36 | } | ||
| 37 | |||
| 38 | #upload-run-block{ | ||
| 39 | position: absolute; | ||
| 40 | background-color: black; | ||
| 41 | opacity: .3; | ||
| 42 | left: 320px; | ||
| 43 | width: calc(100% - 320px); | ||
| 44 | height: 100%; | ||
| 45 | z-index: 2; | ||
| 46 | cursor: no-drop; | ||
| 47 | } | ||