Tweak styles
This commit is contained in:
parent
f4545adc1c
commit
66ea93f0fa
3 changed files with 7 additions and 6 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
&:not([image-viewer-ignore]) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
|
||||||
|
|
@ -13,18 +13,17 @@
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
$img-size: 125px;
|
|
||||||
h1,
|
h1,
|
||||||
.image,
|
|
||||||
.placeholder {
|
.placeholder {
|
||||||
@include title-font();
|
@include title-font();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$img-size: 125px;
|
||||||
.image {
|
.image {
|
||||||
@include square($img-size);
|
@include square($img-size);
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
cursor: pointer;
|
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|
@ -62,7 +61,7 @@
|
||||||
@include square(calc(#{$img-size} * 2 / 3 - #{var(--normal-margin)}));
|
@include square(calc(#{$img-size} * 2 / 3 - #{var(--normal-margin)}));
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 0.75ex 0.75ex 0;
|
margin: 0 0.75ex 0.5ex 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -79,7 +78,6 @@ noscript {
|
||||||
box-shadow: var(--inset-shadow);
|
box-shadow: var(--inset-shadow);
|
||||||
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue