Skip to content

Commit ffe608b

Browse files
committed
Color adjustment and better reviews
1 parent eca21f9 commit ffe608b

File tree

2 files changed

+245
-151
lines changed

2 files changed

+245
-151
lines changed

assets/css/main.css

Lines changed: 127 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@
2323
--theme-off-white: #f6f6f6;
2424
--theme-white: #ffffff;
2525
--theme-dark-navy-blue: #223f5a;
26+
--theme-five-more-pixs: #2f3963;
27+
--theme-call-me-gwapo-light: #a0c3a0;
28+
--theme-call-me-gwapo: #a0c3a0;
29+
--theme-call-me-gwapo-dark: #317d32;
2630
--theme-teal: #0b485a;
2731
--theme-seafoam-green: #245f58;
2832
--theme-forest-green: #6b8f7b;
2933
--theme-light-greenish-gray: #ced5c5;
3034
--theme-olive-green: #afaba0;
3135
--theme-light-grayish-blue: #cbc8c1;
32-
--theme-deep-purple: #63647d;
3336
--theme-dark-burgundy: #250238;
3437
--theme-dark-red: #5b0735;
3538
--main-nav-alignment: flex-end;
@@ -46,8 +49,6 @@
4649
--sub-nav-bg: var(--theme-white);
4750
--sub-nav-color: var(--theme-dark-chocolate-brown);
4851
--sub-nav-selected-color: var(--theme-white);
49-
--sub-nav-selected-bg: var(--theme-dark-navy-blue);
50-
--sub-nav-hover-color: var(--theme-dark-navy-blue);
5152
--sub-nav-hover-bg: var(--theme-light-gray);
5253
--sub-nav-border-color: var(--theme-light-gray);
5354
--sub-nav-border-width: 1px;
@@ -254,6 +255,7 @@ footer .top .top-inner right {
254255
padding-top: 40px;
255256
}
256257
footer .bottom {
258+
background-color: var(--theme-call-me-gwapo-light);
257259
grid-area: "foot-bottom";
258260
}
259261
footer .bottom .bottom-inner {
@@ -262,6 +264,9 @@ footer .bottom .bottom-inner {
262264
footer .bottom .bottom-inner p {
263265
color: var(--theme-light-gray);
264266
}
267+
footer .bottom .bottom-inner p span {
268+
color: #000000;
269+
}
265270
.header-nav {
266271
display: none;
267272
list-style-type: none;
@@ -347,7 +352,7 @@ footer .bottom .bottom-inner p {
347352
padding: 20px 0;
348353
}
349354
#header #connect-bar {
350-
background-color: var(--theme-forest-green);
355+
background-color: var(--theme-call-me-gwapo-light);
351356
}
352357
#header #connect-bar ul.connect-items {
353358
flex-direction: row;
@@ -499,6 +504,21 @@ footer .bottom .bottom-inner p {
499504
max-width: calc(100% - 60px);
500505
}
501506
}
507+
.theme-navy {
508+
background: var(--theme-dark-navy-blue);
509+
}
510+
.theme-navy h1 {
511+
color: var(--theme-white);
512+
}
513+
.theme-navy h3 {
514+
color: var(--theme-white);
515+
}
516+
.theme-navy p {
517+
color: var(--theme-white);
518+
}
519+
.theme-navy a {
520+
color: var(--theme-white);
521+
}
502522
.container,
503523
footer .top .top-inner,
504524
footer .bottom .bottom-inner,
@@ -624,11 +644,13 @@ footer .bottom .bottom-inner,
624644
#homepage-layout #call-me-gwapo-wrap {
625645
position: relative;
626646
padding-top: 80px;
647+
background-color: var(--theme-call-me-gwapo);
627648
}
628649
#homepage-layout #about-muriel-wrap {
629650
padding: 20px 0;
630651
min-height: 380px;
631652
overflow: hidden;
653+
background-color: var(--theme-five-more-pixs);
632654
}
633655
#homepage-layout #about-muriel-wrap img {
634656
display: block;
@@ -645,15 +667,9 @@ footer .bottom .bottom-inner,
645667
}
646668
#homepage-layout #book-cms-wrap {
647669
display: grid;
648-
grid-template-columns: 1fr;
649670
gap: 10px;
650671
padding: 40px 0;
651672
}
652-
@media only screen and (min-width: 960px) {
653-
#homepage-layout #book-cms-wrap {
654-
grid-template-columns: 1fr 1fr;
655-
}
656-
}
657673
#homepage-layout #book-cms-wrap p:last-of-type:after {
658674
content: "";
659675
display: block;
@@ -697,21 +713,6 @@ html {
697713
opacity: 1;
698714
visibility: visible;
699715
}
700-
.theme-navy {
701-
background: var(--theme-dark-navy-blue);
702-
}
703-
.theme-navy h1 {
704-
color: var(--theme-white);
705-
}
706-
.theme-navy h3 {
707-
color: var(--theme-white);
708-
}
709-
.theme-navy p {
710-
color: var(--theme-white);
711-
}
712-
.theme-navy a {
713-
color: var(--theme-white);
714-
}
715716

716717
#homepage-layout #about-muriel-wrap {
717718
background: var(--theme-forest-green);
@@ -732,21 +733,7 @@ html {
732733
#homepage-layout #about-muriel-wrap a {
733734
color: var(--theme-white);
734735
}
735-
.theme-deep-purple {
736-
background: var(--theme-deep-purple);
737-
}
738-
.theme-deep-purple h1 {
739-
color: var(--theme-white);
740-
}
741-
.theme-deep-purple h3 {
742-
color: var(--theme-white);
743-
}
744-
.theme-deep-purple p {
745-
color: var(--theme-white);
746-
}
747-
.theme-deep-purple a {
748-
color: var(--theme-white);
749-
}
736+
750737
.theme-light-greenish-gray {
751738
background: var(--theme-light-greenish-gray);
752739
}
@@ -764,14 +751,17 @@ html {
764751
display: flex;
765752
flex-direction: column;
766753
padding-bottom: 20px;
754+
background-color: var(--theme-call-me-gwapo);
767755
}
768756
.slider-with-text-wrap .slide-inner img {
769757
max-height: 50vh;
770758
margin: auto;
759+
background-color: var(--theme-call-me-gwapo);
771760
}
772761
.slider-with-text-wrap .slide-inner .text-wrap {
773762
display: flex;
774763
width: 100%;
764+
background-color: var(--theme-call-me-gwapo);
775765
}
776766
.slider-with-text-wrap .slide-inner .text-wrap p {
777767
margin: 0;
@@ -787,7 +777,7 @@ html {
787777
display: flex;
788778
padding: 10px 0;
789779
justify-content: center;
790-
background-color: var(--theme-dark-navy-blue);
780+
background-color: var(--theme-call-me-gwapo);
791781
}
792782
.slider-with-text-wrap .dot {
793783
z-index: 2;
@@ -816,11 +806,11 @@ html {
816806
-webkit-transform: translateY(-50%);
817807
fill: #fff;
818808
cursor: pointer;
819-
background-color: #394973;
809+
background-color: var(--theme-call-me-gwapo);
820810
border-radius: 100%;
821811
}
822812
.slider-with-text-wrap .arrow:hover {
823-
background-color: #566da6;
813+
background-color:var(--theme-call-me-gwapo-dark);
824814
}
825815
.slider-with-text-wrap .arrow--left {
826816
left: 5px;
@@ -1129,3 +1119,97 @@ html {
11291119
min-width: 100%;
11301120
}
11311121
}
1122+
1123+
.reviews-heading {
1124+
text-align: center;
1125+
margin-bottom: 2rem;
1126+
}
1127+
1128+
.reviews-container {
1129+
display: flex;
1130+
flex-direction: column;
1131+
gap: 2rem;
1132+
max-width: 900px;
1133+
margin: 0 auto;
1134+
padding: 1rem 0;
1135+
}
1136+
1137+
.review-item {
1138+
display: flex;
1139+
flex-direction: column;
1140+
background-color: rgba(255, 255, 255, 0.7);
1141+
border-radius: 8px;
1142+
padding: 1.5rem;
1143+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
1144+
}
1145+
1146+
.review-quote {
1147+
position: relative;
1148+
padding: 0.5rem 1.5rem;
1149+
}
1150+
1151+
.quote-icon {
1152+
color: rgba(0, 0, 0, 0.2);
1153+
font-size: 1.2rem;
1154+
}
1155+
1156+
.fa-quote-left {
1157+
position: absolute;
1158+
top: 0;
1159+
left: 0;
1160+
}
1161+
1162+
.fa-quote-right {
1163+
position: absolute;
1164+
bottom: 0;
1165+
right: 0;
1166+
}
1167+
1168+
.quote-text {
1169+
font-size: 1.1rem;
1170+
line-height: 1.6;
1171+
font-style: italic;
1172+
margin: 0.5rem 0;
1173+
}
1174+
1175+
.review-source {
1176+
align-self: flex-end;
1177+
text-align: right;
1178+
margin-top: 1rem;
1179+
}
1180+
1181+
.reviewer {
1182+
font-weight: 600;
1183+
margin-bottom: 0.2rem;
1184+
}
1185+
1186+
.review-link {
1187+
color: #333;
1188+
text-decoration: underline;
1189+
font-size: 0.9rem;
1190+
}
1191+
1192+
.review-link:hover {
1193+
color: #000;
1194+
}
1195+
1196+
.review-divider {
1197+
height: 1px;
1198+
background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
1199+
margin: 0.5rem 0;
1200+
}
1201+
1202+
@media (min-width: 768px) {
1203+
.reviews-container {
1204+
flex-direction: row;
1205+
flex-wrap: wrap;
1206+
}
1207+
1208+
.review-item {
1209+
flex: 1 1 45%;
1210+
}
1211+
1212+
.review-divider {
1213+
display: none;
1214+
}
1215+
}

0 commit comments

Comments
 (0)