diff --git a/src/sass/blocks/views/_account.scss b/src/sass/blocks/views/_account.scss
index 77988a3..9f9c097 100644
--- a/src/sass/blocks/views/_account.scss
+++ b/src/sass/blocks/views/_account.scss
@@ -1,20 +1,42 @@
.account {
- // TODO: remove table layout -> use
- table {
- margin: 50px auto 60px;
- td {
- padding-top: 15px;
- text-align: left;
- &:first-child {
- text-align: right;
- padding-right: 15px;
- font-weight: bold;
- }
+ margin: 0;
+ text-align: center;
+ dt {
+ font-weight: bold;
+ }
+ dd {
+ margin: 0 0 10px;
+ }
+ a {
+ color: $color-main;
+ text-decoration: underline;
+ }
- a {
- color: $color-main;
- text-decoration: underline;
- }
+ & > :last-child {
+ margin-bottom: 0;
+ }
+
+ @include respond-to(md) {
+ @include scut-clearfix;
+
+ dt ~ dt,
+ dd ~ dd {
+ margin: 10px 0 0;
+ }
+
+ dt {
+ float: left;
+ padding-right: 0.5em;
+ text-align: right;
+ width: 50%;
+ margin: 0;
+ }
+ dd {
+ float: right;
+ padding-left: 0.5em;
+ text-align: left;
+ width: 50%;
+ margin: 0;
}
}
}
\ No newline at end of file
diff --git a/src/tpl/account.html b/src/tpl/account.html
index f694621..dcb2ad8 100644
--- a/src/tpl/account.html
+++ b/src/tpl/account.html
@@ -7,28 +7,19 @@
-
-
-
-
- Email |
- {{eMail}} |
-
-
- PGP Key ID |
- {{keyId}} (Revoke key) |
-
-
- PGP Fingerprint |
- {{fingerprint}} |
-
-
- Key Size (RSA) |
- {{keysize}} bit |
-
-
-
-
+
+ - Email
+ - {{eMail}}
+
+ - PGP Key ID
+ - {{keyId}} (Revoke key)
+
+ - PGP Fingerprint
+ - {{fingerprint}}
+
+ - Key Size (RSA)
+ - {{keysize}} bit
+