-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Classic Theme Helper : Add testimonials-shortcode.css file to package…
… (#40592) Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12300309363 Upstream-Ref: Automattic/jetpack@a2548ca
- Loading branch information
1 parent
95ec756
commit 622eea3
Showing
5 changed files
with
190 additions
and
85 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
102 changes: 102 additions & 0 deletions
102
...tomattic/jetpack-classic-theme-helper/src/custom-post-types/css/testimonial-shortcode.css
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,102 @@ | ||
.jetpack-testimonial-shortcode { | ||
clear: both; | ||
margin: 0; | ||
overflow: hidden; | ||
padding: 0; | ||
} | ||
|
||
.testimonial-entry { | ||
float: left; | ||
margin: 0 0 3em; | ||
padding: 0; | ||
width: 100%; | ||
} | ||
|
||
/* Column setting */ | ||
.testimonial-entry-column-1 { | ||
width: 100%; | ||
} | ||
|
||
.testimonial-entry-column-2 { | ||
margin-right: 4%; | ||
width: 48%; | ||
} | ||
|
||
.testimonial-entry-column-3 { | ||
margin-right: 3.5%; | ||
width: 31%; | ||
} | ||
|
||
.testimonial-entry-column-4 { | ||
margin-right: 3%; | ||
width: 22%; | ||
} | ||
|
||
.testimonial-entry-column-5 { | ||
margin-right: 2.5%; | ||
width: 18%; | ||
} | ||
|
||
.testimonial-entry-column-6 { | ||
margin-right: 2%; | ||
width: 15%; | ||
} | ||
.testimonial-entry-first-item-row { | ||
clear: both; | ||
} | ||
.testimonial-entry-last-item-row { | ||
margin-right: 0; | ||
} | ||
|
||
@media screen and (max-width:768px) { | ||
.testimonial-entry-mobile-first-item-row{ | ||
margin-right: 4%; | ||
width: 48%; | ||
clear:both; | ||
} | ||
.testimonial-entry-first-item-row { | ||
clear:none; | ||
} | ||
.testimonial-entry-mobile-last-item-row{ | ||
width: 48%; | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
.testimonial-featured-image { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.testimonial-featured-image img { | ||
border: 0; | ||
height: auto; | ||
max-width: 100%; | ||
vertical-align: middle; | ||
} | ||
|
||
.testimonial-entry-title { | ||
font-weight: 700; | ||
margin: 0; | ||
padding: 0; | ||
display: block; | ||
} | ||
|
||
.testimonial-featured-image + .testimonial-entry-title { | ||
margin-top: 1.0em; | ||
} | ||
|
||
.testimonial-entry-title a { | ||
border: 0; | ||
text-decoration: none; | ||
} | ||
|
||
/* Entry Content */ | ||
.testimonial-entry-content { | ||
margin: 0.75em 0; | ||
padding: 0; | ||
} | ||
|
||
.testimonial-entry-content > :last-child { | ||
margin: 0; | ||
} |
Oops, something went wrong.