summaryrefslogtreecommitdiff
path: root/css/partials/profile.css
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
committermuqiuhan <[email protected]>2023-02-28 09:58:51 +0000
commit7e2f3fca091c08771486df0b870ce187f869d363 (patch)
tree025e1b18a0d94c940a85eb631a7f48951efbc18d /css/partials/profile.css
parent2605fd54aa163fcfc97fc265a300b1b54bf38543 (diff)
downloadblog-7e2f3fca091c08771486df0b870ce187f869d363.tar.gz
deploy: b780169745c17f9fc971299e923e5ca5669b5a22
Diffstat (limited to 'css/partials/profile.css')
-rw-r--r--css/partials/profile.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/css/partials/profile.css b/css/partials/profile.css
new file mode 100644
index 00000000..310500f0
--- /dev/null
+++ b/css/partials/profile.css
@@ -0,0 +1,36 @@
+.profile {
+ margin-top: $margin-primary;
+ display: flex;
+ flex-direction: row-reverse;
+}
+.profile .profile-content {
+ width: 50%;
+ margin: 0 $margin-l-0 0 0;
+}
+.profile .profile-content .profile-title {
+ margin-top: 0;
+ margin-bottom: $margin-m-0;
+}
+.profile .profile-content .profile-body {
+ margin-top: 0;
+ margin-bottom: $margin-l-1;
+}
+.profile .profile-content .profile-link {
+ margin-top: 0;
+ margin-bottom: $margin-m-1;
+}
+.profile .profile-image {
+ width: 50%;
+}
+@media (max-width: 480px) {
+ .profile {
+ flex-wrap: wrap;
+ }
+ .profile .profile-content {
+ width: 100%;
+ margin-top: $margin-m-1;
+ }
+ .profile .profile-image {
+ width: 100%;
+ }
+}