summaryrefslogtreecommitdiff
path: root/assets/css/profile-mode.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-11-17 12:45:19 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-11-17 12:45:19 +0530
commit2a06c26e9f80b95fd09b18c2708d1cca3d0151b2 (patch)
tree6a04fd399068d0944bd0dbf8358cbf92354cb87e /assets/css/profile-mode.css
parent62477e7d1b3a69bf76d413e6a4281f93b582b03d (diff)
assets(css): optimize using csso
https://css.github.io/csso/csso.html
Diffstat (limited to 'assets/css/profile-mode.css')
-rw-r--r--assets/css/profile-mode.css30
1 files changed, 16 insertions, 14 deletions
diff --git a/assets/css/profile-mode.css b/assets/css/profile-mode.css
index 77108f7..d59f736 100644
--- a/assets/css/profile-mode.css
+++ b/assets/css/profile-mode.css
@@ -1,41 +1,43 @@
+.buttons,
+.main .profile {
+ display: flex;
+ justify-content: center
+}
+
.main .profile {
position: absolute;
left: 0;
right: 0;
- display: flex;
align-items: center;
- justify-content: center;
height: 80%;
- text-align: center;
+ text-align: center
}
.profile .profile_inner h1 {
- padding: 12px 0;
+ padding: 12px 0
}
.profile .profile_inner span {
padding: 10px 0;
- font-size: 18px;
+ font-size: 18px
}
.profile img {
display: inline-table;
border-radius: 50%;
- pointer-events: none;
+ pointer-events: none
}
-@media screen and (max-width: 600px) {
+@media screen and (max-width:600px) {
.profile img {
- transform: scale(0.85);
+ transform: scale(.85)
}
}
.buttons {
- display: flex;
flex-wrap: wrap;
- justify-content: center;
max-width: 400px;
- margin: 0 auto;
+ margin: 0 auto
}
.button {
@@ -43,13 +45,13 @@
border-radius: var(--radius);
margin: 8px;
padding: 6px;
- transition: transform 0.1s;
+ transition: transform .1s
}
.button-inner {
- padding: 0 8px;
+ padding: 0 8px
}
.button:active {
- transform: scale(0.96);
+ transform: scale(.96)
}