Skip to content

Commit

Permalink
Add a css variable for Emoji height for easier customization (jointak…
Browse files Browse the repository at this point in the history
  • Loading branch information
manfre authored Jan 16, 2023
1 parent 9b6ceee commit ef4862f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ td a {

--md-sidebar-width: 250px;
--md-header-height: 50px;

--emoji-height: 22px;
}

body {
Expand Down Expand Up @@ -389,7 +391,7 @@ nav a i {
.right-column footer a {}

img.emoji {
height: 0.8em;
height: var(--emoji-height);
}

.ellipsis::after {
Expand Down Expand Up @@ -493,7 +495,7 @@ p.authorization-code {
}

.icon-menu .option img.emoji {
height: 20px;
height: var(--emoji-height);
}

.icon-menu .option i {
Expand Down Expand Up @@ -1170,7 +1172,7 @@ h1.identity .icon {
}

h1.identity .emoji {
height: 22px;
height: var(--emoji-height);
}

h1.identity small {
Expand All @@ -1186,7 +1188,7 @@ h1.identity small {
}

.bio .emoji {
height: 22px;
height: var(--emoji-height);
}

.bio p {
Expand Down Expand Up @@ -1273,7 +1275,7 @@ table.buttons th button {
}

table.metadata td .emoji {
height: 22px;
height: var(--emoji-height);
}

/* Timelines */
Expand Down Expand Up @@ -1410,7 +1412,7 @@ form .post {
}

.post .emoji {
height: 18px;
height: var(--emoji-height);
}

.post .post-banner {
Expand Down Expand Up @@ -1646,7 +1648,7 @@ form .post {
.mention-banner .emoji,
.follow-banner .emoji,
.like-banner .emoji {
height: 22px;
height: var(--emoji-height);
}

.boost-banner a,
Expand Down

0 comments on commit ef4862f

Please sign in to comment.