Skip to content

Commit e21d2d0

Browse files
committed
Fix Samsung Internet color inversion
1 parent c8355bd commit e21d2d0

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description"
88
content="Som l'associació estudiantil del grau en ciència i enginyeria de dades de la UPC. Treballem per a ajudar a millorar el grau, crear un vincle entre estudiants i alumni, organitzar activitats com la Datathon FME, compartir experiències de l'alumnat i promoure l'ecosistema de les dades català, entre moltes altres!">
99
<meta name="keywords" content="AED, Associació d'Estudiants de Dades, Datathon FME, UPC, Barcelona, Catalunya">
10-
<meta name="color-scheme" content="light">
10+
<meta name="color-scheme" content="light dark">
1111
<title>AED</title>
1212
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
1313
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">

src/components/Projects.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
padding: 3rem;
2424
border-radius: 24px;
2525
box-shadow: none; /* Shadow removed as requested */
26+
color-scheme: only dark;
2627
}
2728

2829
.project-row.reverse {
@@ -41,6 +42,11 @@
4142
aspect-ratio: 16 / 9;
4243
}
4344

45+
.project-image-container img[src$=".svg"] {
46+
/* Prevent the browser from applying a negative filter to your SVG */
47+
filter: none !important;
48+
}
49+
4450
.project-image {
4551
width: 100%;
4652
height: 100%;
@@ -49,6 +55,7 @@
4955
border-radius: 16px;
5056
}
5157

58+
5259
.project-content {
5360
flex: 1;
5461
display: flex;

src/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
line-height: 1.5;
44
font-weight: 400;
55

6-
color-scheme: light; /* Prevent browser auto-dark mode inversion */
6+
color-scheme: only dark; /* Prevent browser auto-dark mode inversion */
77
color: white;
88
background-color: #2b2632;
99

0 commit comments

Comments
 (0)