Skip to content

Commit

Permalink
シンプルダークモード系のスキンの段落ブロックスタイル修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yhira committed Jun 6, 2023
1 parent 41fdc20 commit 6b77f49
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
42 changes: 42 additions & 0 deletions skins/simple-darkmode-always/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -654,4 +654,46 @@ a:hover {

.toggle-box {
--cocoon-custom-background-color: transparent;
}

.has-box-style,
.has-border{
--cocoon-box-border-color: #ccc;
}

.is-style-border-thin-and-thick,
.is-style-border-radius-s-thin-and-thick,
.is-style-border-radius-l-thin-and-thick {
border-color: rgba(255, 255, 255, 0.1);
}

.is-style-light-background-box{
background-color: rgba(255, 255, 255, 0.1);
}

.is-style-stripe-box {
background-image: repeating-linear-gradient(-45deg, #333 0, #333 3px, transparent 3px, transparent 6px);
}

.is-style-checkered-box {
background-image: linear-gradient(90deg, rgba(232, 238, 236, 0.1) 50%, transparent 50%), linear-gradient(rgba(234, 236, 238, 0.1) 50%, transparent 50%);
}

.is-style-stitch-box{
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.is-style-border-top-box {
box-shadow: 0 3px 5px rgba(255, 255, 255, 0.22);
}

.is-style-border-left-box {
box-shadow: 0px 2px 3px rgba(255, 255, 255, 0.33);
}

[class^="is-style-balloon-"], [class*=" is-style-balloon-"] {
--cocoon-white-color: var(--bg3);
background: var(--cocoon-white-color);
border: 1px solid var(--cocoon-box-border-color);
}
42 changes: 42 additions & 0 deletions skins/simple-darkmode/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,48 @@
.toggle-box {
--cocoon-custom-background-color: transparent;
}

.has-box-style,
.has-border{
--cocoon-box-border-color: #ccc;
}

.is-style-border-thin-and-thick,
.is-style-border-radius-s-thin-and-thick,
.is-style-border-radius-l-thin-and-thick {
border-color: rgba(255, 255, 255, 0.1);
}

.is-style-light-background-box{
background-color: rgba(255, 255, 255, 0.1);
}

.is-style-stripe-box {
background-image: repeating-linear-gradient(-45deg, #333 0, #333 3px, transparent 3px, transparent 6px);
}

.is-style-checkered-box {
background-image: linear-gradient(90deg, rgba(232, 238, 236, 0.1) 50%, transparent 50%), linear-gradient(rgba(234, 236, 238, 0.1) 50%, transparent 50%);
}

.is-style-stitch-box{
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0px 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.is-style-border-top-box {
box-shadow: 0 3px 5px rgba(255, 255, 255, 0.22);
}

.is-style-border-left-box {
box-shadow: 0px 2px 3px rgba(255, 255, 255, 0.33);
}

[class^="is-style-balloon-"], [class*=" is-style-balloon-"] {
--cocoon-white-color: var(--bg3);
background: var(--cocoon-white-color);
border: 1px solid var(--cocoon-box-border-color);
}
}
body {
background-color: var(--bg4);
Expand Down

0 comments on commit 6b77f49

Please sign in to comment.