aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/index.css17
-rw-r--r--src/styles/index.scss17
-rw-r--r--src/styles/prepros.config7
3 files changed, 26 insertions, 15 deletions
diff --git a/src/styles/index.css b/src/styles/index.css
index e91972e..818c734 100644
--- a/src/styles/index.css
+++ b/src/styles/index.css
@@ -1,17 +1,20 @@
img {
-webkit-user-select: none;
- -ms-user-select: none;
user-select: none;
}
-#cards {
- overflow-x: auto;
- flex-wrap: unset;
+.center {
+ position: absolute;
+ height: 50%;
+ width: 50%;
+ top: 50%;
+ left: 50%;
+ translate-top: -50%;
+ translate-left: -50%;
+ transform: translate(-50%, -50%);
}
+
#cards .col {
- width: 18rem;
- max-width: 18rem;
- min-width: 18rem;
overflow-y: auto;
}
#cards .col .card .card-header img {
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 9175250..d90d415 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -2,14 +2,19 @@ img {
user-select: none;
}
-#cards {
- overflow-x: auto;
- flex-wrap: unset;
+.center {
+ position: absolute;
+ height: 50%;
+ width: 50%;
+ top: 50%;
+ left: 50%;
+ translate-top: -50%;
+ translate-left: -50%;
+ transform: translate(-50%, -50%);
+}
+#cards {
.col {
- width: 18rem;
- max-width: 18rem;
- min-width: 18rem;
overflow-y: auto;
.card .card-header img {
diff --git a/src/styles/prepros.config b/src/styles/prepros.config
index d01ba43..0636925 100644
--- a/src/styles/prepros.config
+++ b/src/styles/prepros.config
@@ -76,6 +76,7 @@
"remotePath": "",
"timeout": 20000,
"autoUpload": false,
+ "reuseConnection": true,
"connectionType": "ftp",
"history": []
},
@@ -106,7 +107,8 @@
"> 2%",
"not dead"
],
- "preserveImports": false
+ "preserveImports": false,
+ "polyfills": false
}
},
"@babel/preset-react": true,
@@ -152,7 +154,8 @@
"> 2%",
"not dead"
],
- "preserveImports": false
+ "preserveImports": false,
+ "polyfills": false
}
},
"@babel/preset-react": true,