|
11 | 11 | <style>
|
12 | 12 | /*
|
13 | 13 | SPACING SYSTEM (px)
|
14 |
| - 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 |
| 14 | + 2 / 4 / 8 / 12 / 16 / 24 / 32 / 40 / 48 / 64 / 80 / 96 / 128 |
15 | 15 |
|
16 | 16 | FONT SIZE SYSTEM (px)
|
17 | 17 | 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
|
|
41 | 41 | width: 800px;
|
42 | 42 | margin: 100px auto;
|
43 | 43 | background-color: #087f5b;
|
44 |
| - padding: 32px; |
45 |
| - padding-left: 86px; |
| 44 | + padding: 32px 48px 32px 86px; |
46 | 45 | border-radius: 8px;
|
| 46 | + position: relative; |
| 47 | + |
47 | 48 | display: flex;
|
48 | 49 | align-items: center;
|
49 | 50 | gap: 86px;
|
|
75 | 76 | color: #c3fae8;
|
76 | 77 | }
|
77 | 78 |
|
78 |
| - .btn {} |
| 79 | + /* Controls */ |
| 80 | + |
| 81 | + .btn { |
| 82 | + background-color: #fff; |
| 83 | + border: none; |
| 84 | + height: 40px; |
| 85 | + width: 40px; |
| 86 | + border-radius: 50%; |
| 87 | + box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); |
| 88 | + position: absolute; |
| 89 | + top: 50%; |
| 90 | + cursor: pointer; |
| 91 | + |
| 92 | + display: flex; |
| 93 | + align-items: center; |
| 94 | + justify-content: center; |
| 95 | + } |
79 | 96 |
|
80 |
| - .btn-icon {} |
| 97 | + .btn--left { |
| 98 | + left: 0; |
| 99 | + transform: translate(-50%, -50%); |
| 100 | + } |
| 101 | + |
| 102 | + .btn--right { |
| 103 | + right: 0; |
| 104 | + transform: translate(50%, -50%); |
| 105 | + } |
| 106 | + |
| 107 | + .btn-icon { |
| 108 | + height: 24px; |
| 109 | + width: 24px; |
| 110 | + stroke: #087f5b; |
| 111 | + } |
| 112 | + |
| 113 | + .dots { |
| 114 | + position: absolute; |
| 115 | + left: 50%; |
| 116 | + bottom: 0; |
| 117 | + transform: translate(-50%, 32px); |
| 118 | + |
| 119 | + display: flex; |
| 120 | + gap: 12px; |
| 121 | + } |
| 122 | + |
| 123 | + .dot { |
| 124 | + height: 12px; |
| 125 | + width: 12px; |
| 126 | + background-color: #fff; |
| 127 | + border: 2px solid #087f5b; |
| 128 | + border-radius: 50%; |
| 129 | + cursor: pointer; |
| 130 | + } |
| 131 | + |
| 132 | + .dot--filled { |
| 133 | + background-color: #087f5b; |
| 134 | + } |
81 | 135 | </style>
|
82 | 136 | </head>
|
83 | 137 |
|
|
87 | 141 | <img src="maria.jpg" alt="Maria de Almeida">
|
88 | 142 | <blockquote class="testimonial">
|
89 | 143 | <p class="testimonial-text">
|
90 |
| - Lorem ipsum dolor sit amet consectetur adipisicing elit. Quibusdam voluptatum cumque, aspernatur iusto |
91 |
| - mollitia sunt magnam. Pariatur alias esse aperiam non magnam! Ratione voluptatibus voluptates |
92 |
| - perspiciatis delectus vel veritatis quas? |
| 144 | + "Lorem ipsum dolor sit amet consectetur adipisicing elit. Quibusdam voluptatum cumque, aspernatur iusto |
| 145 | + mollitia sunt magnam." |
93 | 146 | </p>
|
94 | 147 | <p class="testimonial-author">Maria de Almeida</p>
|
95 | 148 | <p class="testimonial-job">Senior Product Manager at EDP Comercial</p>
|
96 | 149 | </blockquote>
|
97 |
| - <button class="btn"> |
98 |
| - <svg class="btn-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} |
| 150 | + <button class="btn btn--left"> |
| 151 | + <svg class="btn-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" |
99 | 152 | stroke="currentColor">
|
100 | 153 | <path strokeLinecap="round" strokeLinejoin="round" d="M15.75 19.5 8.25 12l7.5-7.5" />
|
101 | 154 | </svg>
|
102 | 155 | </button>
|
103 | 156 |
|
104 |
| - <button class="btn"> |
| 157 | + <button class="btn btn--right"> |
105 | 158 | <svg class="btn-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
106 | 159 | stroke="currentColor">
|
107 | 160 | <path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" />
|
108 | 161 | </svg>
|
109 | 162 | </button>
|
| 163 | + <div class="dots"> |
| 164 | + <button class="dot dot--filled"> </button> |
| 165 | + <button class="dot"> </button> |
| 166 | + <button class="dot"> </button> |
| 167 | + <button class="dot"> </button> |
| 168 | + </div> |
110 | 169 | </div>
|
111 | 170 | </body>
|
112 | 171 |
|
|
0 commit comments