forked from laysense/laysite
Release LaySite 1.4.0 canvas editing and layers
This commit is contained in:
+13
-2
@@ -389,7 +389,10 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
|
||||
.hero h1 .hero-heading-primary { color: inherit; }
|
||||
.rich, .section-heading, .hero-copy { overflow-wrap: anywhere; }
|
||||
.button:has(> br, > span[class*="studio-style-"]) { display: inline-block; text-align: center; white-space: normal; }
|
||||
.studio-accent { display: block; }
|
||||
.hero-accent { display: block; }
|
||||
[data-studio-editing] .hero-accent[data-studio-empty] { margin-top: .65rem; min-height: 1.5rem; font: 400 1rem / 1.5 var(--sans); letter-spacing: normal; }
|
||||
[data-studio-editing] .hero:has(> [data-studio-hero-content][hidden]):has(> [data-studio-hero-source]:not([hidden])) { display: block; }
|
||||
[data-studio-editing] :is([data-studio-breadcrumbs], [data-studio-navigation]) a { cursor: pointer; }
|
||||
[data-studio-editing] .hero:has(> [data-studio-hero-content][hidden]):not(:has(> .hero-directory-slot)) { display: none; }
|
||||
[data-studio-editing] [contenteditable], [data-studio-editing] [data-studio-action],
|
||||
[data-studio-editing] [data-studio-navigation] a, [data-studio-editing] [data-studio-hero-image] {
|
||||
@@ -410,7 +413,7 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
|
||||
@media (max-width: 44rem) { .studio-split { grid-template-columns: 1fr; } }
|
||||
|
||||
:where(img, video, audio, .hero-visual)[class*="studio-media-"] { max-width: 100%; }
|
||||
:is(.rich, .hero-inner, .editor-preview) [class*="studio-media-"] { width: var(--studio-media-width, auto); }
|
||||
:is(.rich, .hero-inner, .editor-preview, .studio-layout-block) [class*="studio-media-"] { width: var(--studio-media-width, auto); }
|
||||
.studio-media-10 { --studio-media-width: 10%; }
|
||||
.studio-media-11 { --studio-media-width: 11%; }
|
||||
.studio-media-12 { --studio-media-width: 12%; }
|
||||
@@ -697,3 +700,11 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
|
||||
.layout-thumbnail .masthead .primary-nav { width: auto; order: 0; }
|
||||
.studio-layout-block { margin: 0; }
|
||||
.studio-layout-empty { padding-block: 3rem; text-align: center; }
|
||||
|
||||
.site-brand img[class*="studio-media-"] {
|
||||
width: calc(min(24rem, 55vw) * var(--studio-media-factor, 1)); max-width: 100%; max-height: none;
|
||||
}
|
||||
img.studio-style-display-block, .hero-visual.studio-style-display-block > img { display: block !important; }
|
||||
img.studio-style-display-inline, .hero-visual.studio-style-display-inline > img { display: inline !important; }
|
||||
img.studio-style-display-inline-block, .hero-visual.studio-style-display-inline-block > img { display: inline-block !important; }
|
||||
.studio-style-color-theme { color: var(--ink) !important; }
|
||||
|
||||
Reference in New Issue
Block a user