geno/wp-content/plugins/astra-sites/inc/assets/css/astra-notices.css

241 lines
5.6 KiB
CSS
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
.astra-sites-welcome .astra-notice-container {
display: flex;
flex-direction: column;
align-items: flex-start;
padding-top: 0;
padding-bottom: 0;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container {
background-image: url("../images/starter-template-3-banner-image-background.png");
justify-content: left;
overflow: hidden;
position: relative;
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
display: flex;
flex-flow: row;
width: 100%;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container::after {
padding: 2.5%;
content: "";
display: block;
}
.astra-sites-welcome .text-section {
flex: 0 0 51.5%;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 78px;
}
.astra-sites-welcome .showcase-section {
flex: 0 0 41.3%;
display: flex;
align-items: flex-end;
margin-top: 40px;
}
.astra-sites-welcome .showcase-section img {
width: 100%;
}
.astra-sites-welcome h1.text-heading {
font-style: normal;
font-weight: 600;
font-size: 30px;
line-height: 36px;
color: #1F2937;
padding: 0;
margin-bottom: 12px;
}
.astra-sites-welcome a.text-button {
font-weight: 500;
font-size: 16px;
line-height: 24px;
color: #FFFFFF;
text-decoration: none;
padding: 10px 16px;
max-width: fit-content;
border-radius: 6px;
background: #492CDD;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
.astra-sites-welcome .notice-content-container .content-section {
display: flex;
padding: 20px 16px;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex: 1 0 0;
border-radius: 6px;
}
.astra-sites-welcome .notice-content-container .content-section:hover {
border-radius: 6px;
background: var(--Colors-base-white, #FFF);
box-shadow: 0px 8px 22px 0px rgba(0, 0, 0, 0.08);
}
.astra-sites-welcome .notice-content-container {
display: flex;
padding: 32px 60px;
align-items: flex-start;
gap: 32px;
align-self: stretch;
}
.astra-sites-welcome .notice-content-container .icon-section {
border-radius: 24px;
display: flex;
align-items: flex-start;
gap: 8px;
}
.astra-sites-welcome .notice-content-container .link-section h4 {
margin: 0;
color: var(--gray-900, #111827);
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 28px;
}
.astra-sites-welcome .notice-content-container .link-section p {
margin-bottom: 8px;
padding: 0;
color: var(--gray-500, #6B7280);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
margin-top: 0px;
}
.astra-sites-welcome .text-section p {
color: var(--Theme-Body, #475569);
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 28px;
}
.astra-sites-welcome .text-section p {
margin-bottom: 24px;
margin-top: 0;
}
.astra-sites-welcome.notice.is-dismissible {
padding-right: 0;
}
.astra-sites-welcome.notice {
padding: 0;
border-left-width: 0;
border: none;
}
.astra-sites-welcome .notice-dismiss:before {
background-image: url(../images/cross.svg);
content: '';
position: relative;
background-size: 10px;
background-repeat: no-repeat;
background-position: center top;
}
.astra-sites-welcome .notice-dismiss {
top: 3px;
right: 3px;
margin: 0;
}
.astra-sites-welcome .link-section .link-text {
display: flex;
text-decoration: none;
gap: 8px;
border-radius: 4px;
color: #5D5E61;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 16px;
}
.astra-sites-welcome .content-section {
text-decoration: none;
}
@media only screen and (min-width: 1024px) and (max-width: 1280px) {
.astra-sites-welcome .notice-content-container .link-section h4{
font-size: 14px;
}
.astra-sites-welcome .notice-content-container .link-section p {
font-size: 12px;
}
.astra-sites-welcome .link-section .link-text {
font-size: 10px;
}
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.astra-sites-welcome .astra-notice-container .notice-welcome-container {
background-size: auto;
background-position: center bottom;
}
.astra-sites-welcome .text-section {
flex: 0 0 75.5%;
padding-left: 28px;
padding-top: 38px;
padding-bottom: 38px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container{
display: none;
}
}
@media only screen and (max-width: 767px) {
.astra-sites-welcome .astra-notice-container .notice-welcome-container {
background-size: auto;
background-position: center bottom;
}
.astra-sites-welcome .text-section {
flex: 0 0 75.5%;
padding-left: 30px;
padding-top: 34px;
padding-bottom: 34px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container{
display: none;
}
}
@media only screen and (max-width: 420px) {
.astra-sites-welcome .text-section {
flex: 0 0 75.5%;
padding-left: 32px;
padding-top: 31px;
padding-bottom: 30px;
}
.astra-sites-welcome h1.text-heading {
font-size: 26px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container{
display: none;
}
}