fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Temporary view to avoid redirection.
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
2022
/
styles
/
components
/
_support.scss
diff --git
a/src/wolnelektury/static/2022/styles/components/_support.scss
b/src/wolnelektury/static/2022/styles/components/_support.scss
index
4f0ce2b
..
76ff590
100644
(file)
--- a/
src/wolnelektury/static/2022/styles/components/_support.scss
+++ b/
src/wolnelektury/static/2022/styles/components/_support.scss
@@
-1,53
+1,69
@@
+$green: #96C13D;
+$teal: #007880;
+$darkteal: #083F4D;
+
+
.c-support {
display: flex;
margin-top: 50px;
.c-support {
display: flex;
margin-top: 50px;
- background:
#FFF1BF url(../images/bg.png) top center no-repeat
;
+ background:
$darkteal
;
border-radius: 15px;
overflow: hidden;
justify-content: center;
align-items: center;
h2 {
border-radius: 15px;
overflow: hidden;
justify-content: center;
align-items: center;
h2 {
- padding-left: 44px;
- padding-right: 20px;
margin: 0 auto;
font-style: italic;
margin: 0 auto;
font-style: italic;
- font-weight:
3
00;
- font-size:
48
px;
- line-height:
72
px;
+ font-weight:
4
00;
+ font-size:
34
px;
+ line-height:
47
px;
letter-spacing: -0.02em;
letter-spacing: -0.02em;
- color: #333333;
+ color: #ffffff;
+ span {
+ color: $green;
+ }
}
}
+ div {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ padding: 20px 30px 30px;
+ height: 280px;
+ }
+
figure {
margin: 0;
font-size: 0;
position: relative;
figure {
margin: 0;
font-size: 0;
position: relative;
+
+ img {
+ width: 270px;
+ }
}
a {
}
a {
- bottom: 34px;
- left: 0; right: 0;
width: 100%;
width: 100%;
- margin: 0 auto;
- max-width: 343px;
- position: absolute;
font-weight: 600;
font-size: 22px;
line-height: 28px;
font-weight: 600;
font-size: 22px;
line-height: 28px;
- color:
#333333
;
+ color:
$darkteal
;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 12px 22px 14px 28px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 12px 22px 14px 28px;
- background: #FFF1BF;
- box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
+ background: $color-yellow;
border-radius: 5px;
transition: all $ease-dynamic 350ms;
&:hover {
border-radius: 5px;
transition: all $ease-dynamic 350ms;
&:hover {
- background: $
color-yellow
;
+ background: $
green
;
}
}
}
}
}
}
+
+.c-support__content {
+ padding: 16px 32px 30px 32px;
+}