generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Floating image design 1 * Minor CSS change * Review Comments incorporated --------- Co-authored-by: piyushjindal <[email protected]>
- Loading branch information
1 parent
3516483
commit 122e873
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
.design-1 .block.floating-images > div { | ||
background-color: var(--white); | ||
} | ||
|
||
.design-1 .block.floating-images .content h2 { | ||
font-size: 2rem; | ||
} | ||
|
||
@media (min-width: 900px) { | ||
.design-1 .block.floating-images .image { | ||
margin-top: 4.375rem; | ||
margin-right: 4.375rem; | ||
} | ||
} | ||
|
||
@media (min-width: 1200px) { | ||
.design-1 .block.floating-images .content h2 { | ||
font-size: var(--heading-font-size-xxl); | ||
} | ||
} | ||
|
||
/** | ||
Theme Name: Traditional | ||
*/ | ||
.design-1.traditional .block.floating-images .content h2 { | ||
color: var(--primary-color); | ||
} | ||
|
||
.design-1.traditional .block.floating-images .content p { | ||
color: var(--primary-color); | ||
} | ||
|
||
.design-1.traditional .block.floating-images .content a { | ||
color: var(--primary-color); | ||
border: 1px solid var(--primary-color); | ||
margin-top: 1rem; | ||
} | ||
|
||
.design-1.traditional .block.floating-images .content a:hover { | ||
background-color: var(--primary-color); | ||
color: var(--primary-light); | ||
} | ||
|
||
@media (min-width: 900px) { | ||
.design-1.traditional .with-border .block.floating-images .image { | ||
box-shadow: var(--primary-color) 4.375rem -4.375rem; | ||
} | ||
} | ||
|
||
/* | ||
Theme Name: Black & White | ||
*/ | ||
.design-1.black-white .block.floating-images .content h2 { | ||
color: var(--black); | ||
} | ||
|
||
.design-1.black-white .block.floating-images .content p { | ||
color: var(--black); | ||
} | ||
|
||
/* stylelint-disable-next-line no-descending-specificity */ | ||
.design-1.black-white .block.floating-images .content a { | ||
color: var(--black); | ||
border: 1px solid var(--black); | ||
margin-top: 1rem; | ||
} | ||
|
||
.design-1.black-white .block.floating-images .content a:hover { | ||
background-color: var(--black); | ||
color: var(--white); | ||
} | ||
|
||
@media (min-width: 900px) { | ||
.design-1.black-white .with-border .block.floating-images .image { | ||
box-shadow: var(--black) 4.375rem -4.375rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters