[THEME] Fix svg logo size and change logo hover display
This commit is contained in:
parent
73e3e394ac
commit
4e0c0d6f0d
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
/******************* Constants *******************/
|
/******************* Constants *******************/
|
||||||
:root {
|
:root {
|
||||||
--font-color: #EFEFEF;
|
--font-color: #EFEFEF;
|
||||||
|
--font-color_rgb: 239, 239, 239;
|
||||||
--font-color-em: #8C8C8C;
|
--font-color-em: #8C8C8C;
|
||||||
--background-color: #1C1C1C;
|
--background-color: #1C1C1C;
|
||||||
--background-color-light: #252525;
|
--background-color-light: #252525;
|
||||||
|
@ -526,7 +527,8 @@ a:focus {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.article-body figure.logo img {
|
.article-body figure.logo img {
|
||||||
width: 100px;
|
width: 100%;
|
||||||
|
max-width: 100px;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
.article-body figure.border img {
|
.article-body figure.border img {
|
||||||
|
@ -542,6 +544,10 @@ a:focus {
|
||||||
.article-body figure>a {
|
.article-body figure>a {
|
||||||
display: block;
|
display: block;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.article-body figure.logo:hover {
|
||||||
|
box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5);
|
||||||
}
|
}
|
||||||
.article-body figure figcaption p,
|
.article-body figure figcaption p,
|
||||||
.article-body figure figcaption h4 {
|
.article-body figure figcaption h4 {
|
||||||
|
|
Loading…
Reference in a new issue