fix: title + styles

This commit is contained in:
Cory Dransfeldt 2024-09-02 08:51:55 -07:00
parent f4530c30e2
commit ee721631b9
No known key found for this signature in database
16 changed files with 82 additions and 95 deletions

View file

@ -10,7 +10,7 @@
}
& a {
outline: 0;
outline: none;
&:focus img,
&:focus-within img {

View file

@ -32,9 +32,17 @@ input:focus,
input:focus-within,
textarea:focus,
textarea:focus-within {
padding: calc(var(--sizing-sm) + 1px);
}
input:focus,
input:focus-within,
textarea:focus,
textarea:focus-within,
select:focus,
select:focus-within {
border: 0;
outline: var(--outline-default);
padding: calc(var(--sizing-sm) + 1px);
}
select {
@ -43,12 +51,6 @@ select {
border-radius: var(--border-radius-slight);
background-color: var(--background-color);
padding: var(--sizing-xs) var(--sizing-sm);
&:focus,
&:focus-within {
border: 0;
outline: var(--outline-default)
}
}
.search__form {

View file

@ -52,7 +52,7 @@
content: '';
top: 0;
left: 0;
box-shadow: inset 0 -85px 60px -60px var(--black);
box-shadow: var(--box-shadow-media);
width: 100%;
height: 100%;
border: var(--border-default);

View file

@ -24,8 +24,12 @@
.menu-button-container {
display: none;
outline: none;
margin-left: var(--sizing-md);
outline: 0;
& svg {
cursor: pointer;
}
&:focus,
&:focus-within {
@ -33,10 +37,6 @@
border-radius: var(--border-radius-slight);
}
& svg {
cursor: pointer;
}
&:hover svg,
&:focus svg,
&:focus-within svg,
@ -123,7 +123,7 @@
&:focus a,
&:focus-within a {
outline: 0;
outline: none;
}
&:focus,

View file

@ -20,30 +20,8 @@
position: absolute;
top: var(--sizing-lg);
right: var(--sizing-lg);
cursor: pointer;
height: var(--sizing-svg-base);
width: var(--sizing-svg-base);
&:focus svg,
&:focus-within svg {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
& svg {
stroke: var(--accent-color);
&:focus {
outline: var(--outline-default);
border-radius: var(--border-radius-slight);
}
&:hover,
&:focus,
&:active {
stroke: var(--accent-color-hover);
}
}
}
}
}
@ -60,7 +38,8 @@
}
}
.modal-toggle {
.modal-toggle,
.modal-close {
cursor: pointer;
display: inline-flex;
vertical-align: middle;

View file

@ -61,7 +61,7 @@
line-height: 1.5;
& a {
outline: 0;
outline: none;
}
&:focus,

View file

@ -1,10 +1,10 @@
.progress-bar-wrapper {
display: flex;
height: var(--sizing-lg);
width: 100%;
background-color: rgba(217, 222, 228, .6);
border-radius: var(--border-radius-full);
overflow: hidden;
height: var(--sizing-lg);
width: 100%;
& .progress-bar {
background-color: var(--accent-color);

View file

@ -13,7 +13,7 @@
position: absolute;
z-index: 1;
content: '';
box-shadow: inset 0 -120px 60px -60px var(--background-color);
box-shadow: var(--box-shadow-text-toggle);
width: 100%;
height: 20%;
bottom: 0;

View file

@ -123,6 +123,10 @@
--stroke-width-bold: 2;
--inline-margin-bottom: -5px;
/* shadows */
--box-shadow-media: inset 0 -85px 60px -60px var(--black);
--box-shadow-text-toggle: inset 0 -120px 60px -60px var(--background-color);
/* input accent color */
accent-color: var(--accent-color);
}

View file

@ -5,7 +5,7 @@
& a {
display: flex;
align-items: center;
outline: 0;
outline: none;
&:focus svg,
&:focus-within svg {

View file

@ -17,7 +17,6 @@
display: flex;
}
& img {
max-width: calc(var(--sizing-3xl) * 4);
height: auto;
@ -115,10 +114,6 @@
}
}
}
p {
margin: var(--sizing-base) 0;
}
}
@media screen and (min-width: 768px) {

View file

@ -18,6 +18,10 @@
justify-content: center;
align-items: center;
min-height: 60vh;
h2 {
margin: 0;
}
}
@media screen and (min-width: 768px) {

View file

@ -58,7 +58,7 @@ a:active > .watching.hero::after {
content: '';
top: 0;
left: 0;
box-shadow: inset 0 -85px 60px -60px var(--black);
box-shadow: var(--box-shadow-media);
width: 100%;
height: 100%;
border: var(--border-default);
@ -140,7 +140,7 @@ a:active > .watching.hero::after {
content: '';
top: 0;
left: 0;
box-shadow: inset 0 -85px 60px -60px var(--black);
box-shadow: var(--box-shadow-media);
width: 100%;
height: 100%;
border: var(--border-default);