Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adapting the style of the Private Policy text embed by iubenda to the Uku theme by Elmastudio
#iubenda_policy {
font-family: 'Noticia Text',serif!important;
font-size: 19px!important;
font-size: 1.1875rem!important;
font-weight: normal!important;
line-height: 1.6!important;
color: #1a1a1a!important;
-webkit-font-smoothing: antialiased!important;
-moz-osx-font-smoothing: grayscale!important;
}
#iubenda_policy .iub_base_container {
color: #1a1a1a!important; /* overall text color */
}
#iubenda_policy p {
font-size: 16px!important;
font-size: 1rem!important;
font-weight: normal!important;
line-height: 1.6!important;
margin-bottom:9px!important; ;
}
#iubenda_policy p small {
font-size: 12px!important;
font-size: 0.75rem!important;
color: #1a1a1a!important;
}
#iubenda_policy .iub_content .iub_footer {
font-size: 12px!important;
font-size: 0.75rem!important;
}
/* --- Headings --- */
#iubenda_policy h1,
#iubenda_policy h2,
#iubenda_policy h3,
#iubenda_policy h4,
#iubenda_policy h5,
#iubenda_policy h6 {
font-family: 'Kanit', sans-serif!important;
font-weight: 600!important;
color: #1a1a1a!important;
-webkit-hyphens: auto!important;
-moz-hyphens: auto!important;
-ms-hyphens: auto!important;
hyphens: auto!important;
}
#iubenda_policy h1 {
display: none!important; /* hiding the title of iubenda’s policy text in favor of the main page title */
}
#iubenda_policy h1 small {
font-size: 18px!important;
font-size: 1.125rem!important;
}
#iubenda_policy h2 {
font-size: 18px!important;
font-size: 1.125rem!important;
/*padding: 6px 0 9px!important;*/
line-height: 1.2!important;
font-variant: normal!important;
}
#iubenda_policy h2 small {
font-size:14px!important;
}
#iubenda_policy h3 {
font-size: 18px!important;
font-size: 1.125rem!important;
/*padding: 5px 0 8px!important;*/
line-height: 1.3!important;
}
#iubenda_policy h4 {
font-size: 16px!important;
font-size: 1rem!important;
/*padding: 5px 0 8px!important;*/
line-height: 1.3!important;
}
#iubenda_policy h5 {
font-size: 15px!important;
font-size: 0.9375rem!important;
/*padding: 3px 0!important;*/
line-height: 1.3!important;
text-transform: uppercase!important;
letter-spacing: 1px!important;
}
#iubenda_policy h6 {
font-size: 16px!important;
font-size: 1rem!important;
/*padding: 3px 0!important;*/
line-height: 1.3!important;
color: #1a1a1a!important;
text-transform: none!important;
}
/* Font sizes for bigger screens */
@media screen and (min-width: 48.000em) {
#iubenda_policy h1 {
font-size: 36px!important;
font-size: 2.25rem!important;
}
#iubenda_policy h2 {
font-size: 26px!important;
font-size: 1.625rem!important;
}
#iubenda_policy h3 {
font-size: 24px!important;
font-size: 1.5rem!important;
}
#iubenda_policy h4 {
font-size: 22px!important;
font-size: 1.375rem!important;
}
#iubenda_policy p,
#iubenda_policy ol,
#iubenda_policy ul,
#iubenda_policy dl,
#iubenda_policy h5,
#iubenda_policy h6 {
font-size: 19px!important;
font-size: 1.1875rem!important;
}
#iubenda_policy ul.styled li, #iubenda_policy ul li {
list-style: disc;
line-height: 1.6!important;
font-size: 19px!important;
font-size: 1.1875rem!important;
margin-left: 30px;
margin-top: 2px;
}
#iubenda_policy .iub_content .iub_footer p {
font-size: 12px!important;
font-size: 0.75rem!important;
}
}
/* --- Links + Colors --- */
#iubenda_policy a {
color: #51a8dd!important;
text-decoration: underline!important;
border-bottom: none!important;
}
#iubenda_policy a:hover {
color: #0c6ca6!important;
}
/* --- Layout --- */
#iubenda_policy .iub_header {
border-bottom: 1px solid #1a1a1a!important;
padding-bottom: 25px;
position: relative;
}
#iubenda_policy .iub_header p {
font-style: italic!important;
}
#iubenda_policy .one_line_col {
zoom: 1;
float: left;
width: 100%;
border-bottom: 1px solid #1a1a1a!important;
}
#iubenda_policy .iub_content {
position: relative;
padding: 0 0 25px 0!important;
}
#iubenda_policy .box_primary {
border: 1px solid #1a1a1a!important;
border-bottom-color: #1a1a1a!important;
-webkit-box-shadow: none!important;
box-shadow: none!important;
-webkit-box-shadow: none!important;
box-shadow: none!important;
background: transparent!important;
}
#iubenda_policy .box_10 {
border-radius: 0!important;
}
#iubenda_policy .expand .expand-click, #iubenda_policy .box_10.expand .expand-click, #iubenda_policy .expand.expanded .expand-click, #iubenda_policy .box_10.expand.expanded .expand-click {
border-bottom: 1px solid #1a1a1a!important;
margin-bottom: 10px;
-webkit-transition: 0.2s linear all;
transition: 0.2s linear all;
}
@media screen and (min-width: 85.000em) {
#iubenda_policy .iub_content {
width: 75%;
margin-left: auto;
margin-right: auto;
}
}
/* Fixing the link item bullet point bug of the parent theme Uku */
.page-id-495 #iubenda_policy ul li::before, .page-id-495 .entry-content ul li::before {
content: none!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.