summaryrefslogtreecommitdiff
path: root/web/source/css/base.css
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2022-06-21 10:48:42 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-21 10:48:42 +0200
commit7c6c0cd547f356d5309bda2478a69ea9346c74b6 (patch)
treeacc2d165a17626a4264b5765464b7ab895725f32 /web/source/css/base.css
parent[bugfix] Account self finger fix (#658) (diff)
downloadgotosocial-7c6c0cd547f356d5309bda2478a69ea9346c74b6.tar.xz
[frontend] Profile pages upgrade (#640)
* fix css indentation * profile styling update * update status styling to match profile * empty header fix * generate random avatars for thread views * appease the linter gods * upgrade deps * turn profile accent into border + $bg background * upgrade deps * small accessibility tweaks Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
Diffstat (limited to 'web/source/css/base.css')
-rw-r--r--web/source/css/base.css43
1 files changed, 23 insertions, 20 deletions
diff --git a/web/source/css/base.css b/web/source/css/base.css
index e8b8818df..69a549d99 100644
--- a/web/source/css/base.css
+++ b/web/source/css/base.css
@@ -1,21 +1,24 @@
/*
- GoToSocial
- Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
+ GoToSocial
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+$br: 0.4rem;
+$boxshadow: 0 0.4rem 1rem -0.2rem rgba(0,0,0,0.2);
+
html, body {
padding: 0;
margin: 0;
@@ -197,16 +200,16 @@ section.error {
flex-direction: row;
align-items: center;
span {
- font-size: 2em;
+ font-size: 2em;
}
pre {
- border: 1px solid #ff000080;
- margin-left: 1em;
- padding: 0 0.7em;
- border-radius: 0.5em;
- background-color: #ff000010;
- font-size: 1.3em;
- white-space: pre-wrap;
+ border: 1px solid #ff000080;
+ margin-left: 1em;
+ padding: 0 0.7em;
+ border-radius: 0.5em;
+ background-color: #ff000010;
+ font-size: 1.3em;
+ white-space: pre-wrap;
}
}