Improved article visibility with light colored backgrounds
This commit is contained in:
parent
9c7ea45d89
commit
f2dac1e6d7
1 changed files with 15 additions and 3 deletions
|
|
@ -4,15 +4,15 @@
|
||||||
|
|
||||||
/* From https://css.glass */
|
/* From https://css.glass */
|
||||||
.glass {
|
.glass {
|
||||||
background: rgba(18, 47, 101, 0.25);
|
background: rgba(18, 47, 101, 0.6);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
animation: backdropShift 10s linear infinite;
|
animation: backdropShift 10s linear infinite;
|
||||||
-webkit-backdrop-filter: blur(8px);
|
-webkit-backdrop-filter: blur(8px);
|
||||||
border: 1px solid rgba(18, 47, 101, 0.35);
|
border: 1px solid rgba(18, 47, 101, 0.45);
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
filter: saturate(0.7) brightness(0.8);
|
filter: saturate(0.8) brightness(0.9);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -154,3 +154,15 @@ header button[id^="search-button"]:hover {
|
||||||
html {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Video feature styling */
|
||||||
|
video.mb-6 {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
article video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue