Skip to content

Commit c04ae1f

Browse files
committed
Minor fixes
1 parent 70cd887 commit c04ae1f

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

ux.symfony.com/assets/styles/sections/_hero.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
-webkit-background-clip: text;
88
-webkit-text-fill-color: transparent;
99
font-style: normal;
10+
filter: brightness(102%) contrast(200%) saturate(100%) drop-shadow(1px 1px 3px #0008);
11+
letter-spacing: 0;
1012
}
1113

1214
.hero-background {

ux.symfony.com/assets/styles/sections/_nav.scss

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
font-size: 1rem;
8383
font-weight: 500;
8484
letter-spacing: 0;
85-
opacity: .85;
85+
opacity: .9;
8686
transition: opacity 250ms;
8787
padding: 0;
8888
border: none;
@@ -109,26 +109,25 @@
109109

110110
.AppNav_badge {
111111
position: absolute;
112-
color: lightskyblue;
113112
right: -1rem;
114113
top: -.75rem;
115114
text-align: right;
116115
padding: .2rem .4rem;
117-
font-size: .75rem;
118-
border: 1px solid var(--color-text);
119-
font-stretch: condensed;
116+
font-size: .5rem;
120117
font-family: var(--font-family-text);
121-
height: 1rem;
122-
line-height: normal;
118+
text-transform: uppercase;
119+
line-height: 1;
120+
background: rgba(0,0,0,0.1);
121+
border-radius: .25rem;
122+
opacity: 0.75;
123+
display: flex;
124+
}
125+
.AppNav_badge:after {
126+
content: attr(data-content);
127+
color: inherit;
123128
}
124129
@media (max-width: 859px) {
125130
.AppNav_badge {
126131
display: none;
127132
}
128133
}
129-
130-
@media (max-width: 360px) {
131-
.ThemeSwitcher + .AppNav_item {
132-
display: none;
133-
}
134-
}

0 commit comments

Comments
 (0)