Skip to content

Commit 6d86d4c

Browse files
toned down box shadow on previews, aligned border radius between preview images and overlays, increased font size of link on medium+ screens + on hover now decreases opacity
1 parent a5c361b commit 6d86d4c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

application/static/css/style.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,15 @@ p {
206206
overflow: hidden;
207207
}
208208

209-
#analysis-preview, #docs-preview {
209+
#analysis-preview,
210+
#docs-preview {
210211
--border-radius: 4px;
211212

212213
position: relative;
213214
height: 100%;
214215
aspect-ratio: 16/9;
215216
border-radius: var(--border-radius);
216-
box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px,
217-
rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px,
218-
rgba(0, 0, 0, 0.07) 0px 16px 16px;
217+
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
219218

220219
& a {
221220
z-index: 3;
@@ -253,6 +252,7 @@ p {
253252
width: 100%;
254253
background-color: black;
255254
opacity: 0.4;
255+
border-radius: var(--border-radius);
256256
}
257257

258258
.preview {
@@ -311,11 +311,12 @@ a#dynamic-example {
311311
@media screen and (min-width: 760px) {
312312
& {
313313
right: 2rem;
314+
font-size: 1rem;
314315
}
315316
}
316317
}
317318

318319
a#dynamic-example:hover,
319320
a#dynamic-example:active {
320-
filter: brightness(1.35);
321+
opacity: 0.8;
321322
}

0 commit comments

Comments
 (0)