aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/ModMenu.css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/css/ModMenu.css')
-rw-r--r--frontend/src/css/ModMenu.css148
1 files changed, 119 insertions, 29 deletions
diff --git a/frontend/src/css/ModMenu.css b/frontend/src/css/ModMenu.css
index c6d3d8d..f09a4b0 100644
--- a/frontend/src/css/ModMenu.css
+++ b/frontend/src/css/ModMenu.css
@@ -1,35 +1,39 @@
1div#modview{ 1div#modview {
2 position: absolute; 2 position: absolute;
3 left: 50%; 3 left: 50%;
4 z-index: 20; 4 z-index: 20;
5 width: 320px; height: auto; 5 width: 320px;
6 height: auto;
6 /* background-color: red; */ 7 /* background-color: red; */
7 8
8 transform: translateY(-68%); 9 transform: translateY(-68%);
9} 10}
10div#modview>div>button{ 11
12div#modview>div>button {
11 height: 30px; 13 height: 30px;
12} 14}
13 15
14div#modview>div:nth-child(1){ 16div#modview>div:nth-child(1) {
15 display: grid; 17 display: grid;
16 grid-template-columns: 50% 50%; 18 grid-template-columns: 50% 50%;
17} 19}
18 20
19div#modview>div:nth-child(2){ 21div#modview>div:nth-child(2) {
20 display: grid; 22 display: grid;
21 place-items: center; 23 place-items: center;
22} 24}
23 25
24#modview-menu{ 26#modview-menu {
25 position: absolute; 27 position: absolute;
26 left: calc(50% + 160px); top: 130px; 28 left: calc(50% + 160px);
29 top: 130px;
27 transform: translateX(-50%); 30 transform: translateX(-50%);
28 background-color: #2b2e46; 31 background-color: #2b2e46;
29 z-index: 2; color: white; 32 z-index: 2;
33 color: white;
30} 34}
31 35
32#modview-menu-image{ 36#modview-menu-image {
33 box-shadow: 0 0 40px 16px black; 37 box-shadow: 0 0 40px 16px black;
34 outline: 8px solid #2b2e46; 38 outline: 8px solid #2b2e46;
35 border-radius: 20px; 39 border-radius: 20px;
@@ -37,27 +41,43 @@ div#modview>div:nth-child(2){
37 display: grid; 41 display: grid;
38 grid-template-columns: 50% 50%; 42 grid-template-columns: 50% 50%;
39 /* place-items: center; */ 43 /* place-items: center; */
40 44
41} 45}
42#modview-menu-image>div:nth-child(1){ 46
43 height: 400px; width: 500px; 47#modview-menu-image>div:nth-child(1) {
48 height: 400px;
49 width: 500px;
44 display: grid; 50 display: grid;
45 grid-template-rows: 30% 70%; 51 grid-template-rows: 30% 70%;
46} 52}
47#modview-menu-image>div:nth-child(2){ 53
48 height: 400px; width: 500px; 54#modview-menu-image>div:nth-child(2) {
55 height: 400px;
56 width: 500px;
49 display: grid; 57 display: grid;
50 grid-template-rows: 20% 10%; 58 grid-template-rows: 20% 10%;
51} 59}
52 60
53#modview-menu-image>div>button{width: 300px;margin-left:100px;} 61#modview-menu-image>div>button {
54#modview-menu-image>div>img{width: 500px;} 62 width: 300px;
55#modview-menu-image>div>button{font-size: 20px;} 63 margin-left: 100px;
56#modview-menu-image>div>span>input[type="file"]{font-size: 15px;} 64}
65
66#modview-menu-image>div>img {
67 width: 500px;
68}
69
70#modview-menu-image>div>button {
71 font-size: 20px;
72}
73
74#modview-menu-image>div>span>input[type="file"] {
75 font-size: 15px;
76}
57 77
58 78
59#modview-menu-add, 79#modview-menu-add,
60#modview-menu-edit{ 80#modview-menu-edit {
61 box-shadow: 0 0 40px 16px black; 81 box-shadow: 0 0 40px 16px black;
62 outline: 8px solid #2b2e46; 82 outline: 8px solid #2b2e46;
63 border-radius: 20px; 83 border-radius: 20px;
@@ -67,19 +87,24 @@ div#modview>div:nth-child(2){
67} 87}
68 88
69#modview-menu-add>div, 89#modview-menu-add>div,
70#modview-menu-edit>div{ 90#modview-menu-edit>div {
71 display: grid; 91 display: grid;
72 margin: 20px; 92 margin: 20px;
73 width: 200px; 93 width: 200px;
74 font-size: 20px; 94 font-size: 20px;
75} 95}
76#modview-route-description>textarea{ 96
97#modview-route-description>textarea {
77 resize: none; 98 resize: none;
78 height: 160px; 99 height: 160px;
79 width: 1160px; 100 width: 1160px;
80} 101}
81#modview-route-showcase>input::placeholder{opacity: .5;} 102
82#modview_block{ 103#modview-route-showcase>input::placeholder {
104 opacity: .5;
105}
106
107#modview_block {
83 position: absolute; 108 position: absolute;
84 background-color: black; 109 background-color: black;
85 opacity: .3; 110 opacity: .3;
@@ -89,24 +114,89 @@ div#modview>div:nth-child(2){
89 z-index: 2; 114 z-index: 2;
90 cursor: no-drop; 115 cursor: no-drop;
91} 116}
92#modview-md{ 117
118#modview-md {
93 box-shadow: 0 0 40px 16px black; 119 box-shadow: 0 0 40px 16px black;
94 background-color: #2b2e46; 120 background-color: #2b2e46;
95 outline: 8px solid #2b2e46; 121 outline: 8px solid #2b2e46;
96 122
97 border-radius: 20px; 123 border-radius: 20px;
98 position: absolute; 124 position: absolute;
99 padding: 10px; top: 400px; 125 padding: 10px;
100 width: 1180px; height: 300px; 126 top: 400px;
127 width: 1180px;
128 height: 300px;
101 overflow-y: auto; 129 overflow-y: auto;
102 word-wrap: break-word; 130 word-wrap: break-word;
103} 131}
104#modview-md>span>a{ 132
133#modview-md>span>a {
105 padding-left: 20px; 134 padding-left: 20px;
106 color:aqua; 135 color: aqua;
107} 136}
108#modview-md>p{ 137
138#modview-md>p {
109 font-family: BarlowSemiCondensed-Regular; 139 font-family: BarlowSemiCondensed-Regular;
110 color: #cdcfdf; 140 color: #cdcfdf;
111 font-size: 21px; 141 font-size: 21px;
142}
143
144@media screen and (max-width: 768px) {
145 #modview_block {
146 left: 0;
147 width: 100%;
148 }
149
150 #modview-menu {
151 left: 50%;
152 top: 80px;
153 width: 90vw;
154 }
155
156 #modview-menu-image {
157 grid-template-columns: 1fr;
158 width: 100%;
159 }
160
161 #modview-menu-image>div:nth-child(1),
162 #modview-menu-image>div:nth-child(2) {
163 width: 100%;
164 height: auto;
165 }
166
167 #modview-menu-image>div>img {
168 width: 100%;
169 max-width: 400px;
170 }
171
172 #modview-menu-image>div>button {
173 width: 80%;
174 margin-left: 10%;
175 }
176
177 #modview-menu-add,
178 #modview-menu-edit {
179 grid-template-columns: 1fr;
180 width: 90vw;
181 }
182
183 #modview-menu-add>div,
184 #modview-menu-edit>div {
185 width: 90%;
186 }
187
188 #modview-route-description>textarea {
189 width: 100%;
190 max-width: 90vw;
191 }
192
193 #modview-md {
194 width: 90vw;
195 max-width: 600px;
196 top: 300px;
197 }
198
199 div#modview {
200 width: 90vw;
201 }
112} \ No newline at end of file 202} \ No newline at end of file