aboutsummaryrefslogtreecommitdiff
path: root/static/pages/settings/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/pages/settings/index.css')
-rw-r--r--static/pages/settings/index.css83
1 files changed, 83 insertions, 0 deletions
diff --git a/static/pages/settings/index.css b/static/pages/settings/index.css
new file mode 100644
index 0000000..5128c18
--- /dev/null
+++ b/static/pages/settings/index.css
@@ -0,0 +1,83 @@
+
+#container {
+ width: 100%;
+ height: 100%;
+ background: var(--page-background);
+ padding: 40px;
+ display: flex;
+ flex-flow: column;
+ gap: 20px;
+}
+
+#profile-image {
+ width: 200px;
+ height: 200px;
+ position: relative;
+ margin: auto;
+ margin-top: 50px;
+ margin-bottom: 30px;
+}
+
+#image-container {
+ position: relative;
+ border-radius: 100%;
+ width: 100%;
+ height: 100%;
+ top: 0px;
+ left: 0px;
+ overflow: hidden;
+}
+
+#image-container img {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ min-width: 100%;
+ min-height: 100%;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ user-select: none;
+}
+
+#profile-image #edit-container {
+ overflow: unset;
+}
+
+#profile-image #edit {
+ position: absolute;
+ top: 15px;
+ right: 15px;
+ background: var(--card-background);
+ width: 30px;
+ height: 30px;
+ padding: 6px;
+ border-radius: 100%;
+ box-shadow: var(--shadow);
+ cursor: pointer;
+}
+
+#info-box {
+ width: 100%;
+ text-align: center;
+ color: var(--fg-disabled);
+ font-weight: lighter;
+ user-select: none;
+}
+
+#info-box #name {
+ font-family: 'Pacifico';
+}
+
+#logout {
+ padding: 10px;
+ width: 100%;
+ text-align: center;
+ background: #ee5151;
+ box-shadow: var(--shadow);
+ color: #fff;
+ font-weight: bold;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+}