aboutsummaryrefslogtreecommitdiff
path: root/profile/public/style.css
diff options
context:
space:
mode:
authorLars Krönner2020-10-10 18:40:46 +0200
committerGitHub2020-10-10 18:40:46 +0200
commitc2cb67575c8ee623b775d1f5fd28c0a60a9288dc (patch)
treea9285cef4e2dc3451ed609be2a34bbf21580c35e /profile/public/style.css
parent16ebbb932c0b780c11d3e574bc24a515eb095f5f (diff)
parent1f45ede8253421439e07790375b72a31ceef33ed (diff)
Merge pull request #4 from marvinborner/profile
Profile
Diffstat (limited to 'profile/public/style.css')
-rw-r--r--profile/public/style.css44
1 files changed, 44 insertions, 0 deletions
diff --git a/profile/public/style.css b/profile/public/style.css
new file mode 100644
index 0000000..e674e71
--- /dev/null
+++ b/profile/public/style.css
@@ -0,0 +1,44 @@
+html,
+body {
+ padding: 0;
+ margin: 0;
+ height: 100%;
+ width: 100%;
+ background-color: #eec0c6;
+ background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%);
+}
+
+div {
+ background: white;
+}
+
+main {
+ position: absolute;
+ max-height: 80%;
+ overflow-y: auto;
+ width: 50%;
+ left: 50%;
+ top: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ padding: 20px;
+ border-radius: 10px;
+ background: white;
+}
+
+input,
+button,
+select {
+ width: 100%;
+}
+
+img {
+ max-width: 80%;
+ max-height: 80%;
+}
+
+@media only screen and (max-width: 600px) {
+ main {
+ width: calc(100% - 50px);
+ }
+}