forked from glitch-soc/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
261a036
commit 8e54a6b
Showing
5 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/javascript/flavours/glitch/styles/neuromatchstodon/better_code_blocks.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pre { | ||
background: darken($ui-base-color, 8%); | ||
border-radius: 3px; | ||
padding: 0.75em; | ||
counter-reset: line; | ||
overflow-x: scroll; | ||
} | ||
|
||
pre code { | ||
counter-increment: line; | ||
padding: 0; | ||
white-space: pre; | ||
} | ||
|
||
pre code::before { | ||
font-size: 0.8em; | ||
color: darken($primary-text-color, 33%); | ||
content: counter(line); | ||
display: inline-block; | ||
border-right: 1px solid darken($primary-text-color, 33%); | ||
margin: -0.05em 0.7em -0.05em 0; | ||
padding: 0.05em 0.5em 0.05em 0; | ||
text-align: right; | ||
width: 1.2em; | ||
white-space: nowrap; | ||
direction: rtl; | ||
} |
12 changes: 12 additions & 0 deletions
12
app/javascript/flavours/glitch/styles/neuromatchstodon/bigger_collapsed_statuses.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.status { | ||
&.collapsed { | ||
.status__content { | ||
max-height: 6em; | ||
padding-top: unset; | ||
|
||
&::after { | ||
height: 40%; | ||
} | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
app/javascript/flavours/glitch/styles/neuromatchstodon/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import 'latex'; | ||
@import 'bigger_collapsed_statuses'; | ||
@import 'better_code_blocks'; |
File renamed without changes.