Skip to content

Commit

Permalink
Small tweaks to shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed Mar 26, 2022
1 parent 80809d8 commit d6bba2f
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
20 changes: 10 additions & 10 deletions Minimal.css
Original file line number Diff line number Diff line change
Expand Up @@ -5685,8 +5685,8 @@ body:not(.is-mobile):not(.zoom-off) .view-content .image-embed:active:after {
background-color: var(--background-primary);
opacity: 0.9;
content: " ";
height: 100%;
width: calc(100% - 1px);
height: calc(100% + 1px);
width: 100%;
position: fixed;
left: 0;
right: 1px;
Expand Down Expand Up @@ -8665,17 +8665,17 @@ body.mod-macos.hider-frameless:not(.hider-ribbon):not(.is-fullscreen):not(.is-mo

.theme-light {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.032),
0px 7.6px 13.5px rgba(0, 0, 0, 0.052),
0px 13.5px 28.1px rgba(0, 0, 0, 0.071),
0px 26px 62px rgba(0, 0, 0, 0.11) ; }
0px 2.7px 3.1px rgba(0, 0, 0, 0.032),
0px 5.9px 8.7px rgba(0, 0, 0, 0.052),
0px 10.4px 18.1px rgba(0, 0, 0, 0.071),
0px 20px 40px rgba(0, 0, 0, 0.11) ; }

.theme-dark {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.101),
0px 7.6px 13.5px rgba(0, 0, 0, 0.164),
0px 13.5px 28.1px rgba(0, 0, 0, 0.225),
0px 26px 62px rgba(0, 0, 0, 0.35) ; }
0px 2.7px 3.1px rgba(0, 0, 0, 0.081),
0px 5.9px 8.7px rgba(0, 0, 0, 0.131),
0px 10.4px 18.1px rgba(0, 0, 0, 0.18),
0px 20px 40px rgba(0, 0, 0, 0.28) ; }

.popover:not(.snap-to-viewport) {
--max-width:95%; }
Expand Down
2 changes: 1 addition & 1 deletion obsidian.css

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5645,8 +5645,8 @@ body:not(.is-mobile):not(.zoom-off) .view-content .image-embed:active:after {
background-color: var(--background-primary);
opacity: 0.9;
content: " ";
height: 100%;
width: calc(100% - 1px);
height: calc(100% + 1px);
width: 100%;
position: fixed;
left: 0;
right: 1px;
Expand Down Expand Up @@ -8625,17 +8625,17 @@ body.mod-macos.hider-frameless:not(.hider-ribbon):not(.is-fullscreen):not(.is-mo

.theme-light {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.032),
0px 7.6px 13.5px rgba(0, 0, 0, 0.052),
0px 13.5px 28.1px rgba(0, 0, 0, 0.071),
0px 26px 62px rgba(0, 0, 0, 0.11) ; }
0px 2.7px 3.1px rgba(0, 0, 0, 0.032),
0px 5.9px 8.7px rgba(0, 0, 0, 0.052),
0px 10.4px 18.1px rgba(0, 0, 0, 0.071),
0px 20px 40px rgba(0, 0, 0, 0.11) ; }

.theme-dark {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.101),
0px 7.6px 13.5px rgba(0, 0, 0, 0.164),
0px 13.5px 28.1px rgba(0, 0, 0, 0.225),
0px 26px 62px rgba(0, 0, 0, 0.35) ; }
0px 2.7px 3.1px rgba(0, 0, 0, 0.081),
0px 5.9px 8.7px rgba(0, 0, 0, 0.131),
0px 10.4px 18.1px rgba(0, 0, 0, 0.18),
0px 20px 40px rgba(0, 0, 0, 0.28) ; }

.popover:not(.snap-to-viewport) {
--max-width:95%; }
Expand Down
2 changes: 1 addition & 1 deletion src/css/main.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/scss/features/image-zoom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ body:not(.is-mobile):not(.zoom-off) .view-content .image-embed:active:after {
background-color:var(--background-primary);
opacity:0.9;
content:" ";
height:100%;
width:calc(100% - 1px);
height:calc(100% + 1px);
width:100%;
position:fixed;
left:0;
right:1px;
Expand Down
16 changes: 8 additions & 8 deletions src/scss/plugins/hover-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
}
.theme-light {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.032),
0px 7.6px 13.5px rgba(0, 0, 0, 0.052),
0px 13.5px 28.1px rgba(0, 0, 0, 0.071),
0px 26px 62px rgba(0, 0, 0, 0.11)
0px 2.7px 3.1px rgba(0, 0, 0, 0.032),
0px 5.9px 8.7px rgba(0, 0, 0, 0.052),
0px 10.4px 18.1px rgba(0, 0, 0, 0.071),
0px 20px 40px rgba(0, 0, 0, 0.11)
;
}
.theme-dark {
--popover-shadow:
0px 3.5px 4.7px rgba(0, 0, 0, 0.101),
0px 7.6px 13.5px rgba(0, 0, 0, 0.164),
0px 13.5px 28.1px rgba(0, 0, 0, 0.225),
0px 26px 62px rgba(0, 0, 0, 0.35)
0px 2.7px 3.1px rgba(0, 0, 0, 0.081),
0px 5.9px 8.7px rgba(0, 0, 0, 0.131),
0px 10.4px 18.1px rgba(0, 0, 0, 0.18),
0px 20px 40px rgba(0, 0, 0, 0.28)
;
}
.popover:not(.snap-to-viewport) {
Expand Down

0 comments on commit d6bba2f

Please sign in to comment.