Skip to content

Commit 206f4c2

Browse files
committed
Styling
1 parent e4f616f commit 206f4c2

1 file changed

Lines changed: 23 additions & 12 deletions

File tree

_sass/custom/course_overrides.scss

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,31 +107,42 @@
107107
margin-left: 0.5rem;
108108
}
109109

110-
.aux-nav .site-button {
110+
.aux-nav .site-button,
111+
.aux-nav .site-button:visited {
111112
height: auto;
112113
padding: 0.35rem 0.6rem;
113114
border-radius: 4px;
114-
background-color: #1f4ba5;
115-
color: #fff;
115+
background-color: #1f4ba5 !important;
116+
color: #fff !important;
116117
line-height: 1.2;
117118
text-decoration: none;
118119
transition: background-color 0.15s ease, color 0.15s ease;
120+
background-image: none;
119121
}
120122

121123
.aux-nav .site-button:hover,
122-
.aux-nav .site-button:focus {
123-
background-color: #193b85;
124-
color: #f2f5ff;
124+
.aux-nav .site-button:focus,
125+
.aux-nav .site-button:active {
126+
background-color: #193b85 !important;
127+
color: #f2f5ff !important;
125128
text-decoration: none;
129+
background-image: none;
130+
box-shadow: none;
131+
filter: none;
126132
}
127133

128-
.aux-nav .site-button[href*="edstem.org"] {
129-
background-color: #6d28d9;
130-
color: #fff;
134+
.aux-nav .site-button[href*="edstem.org"],
135+
.aux-nav .site-button[href*="edstem.org"]:visited {
136+
background-color: #6d28d9 !important;
137+
color: #fff !important;
131138
}
132139

133140
.aux-nav .site-button[href*="edstem.org"]:hover,
134-
.aux-nav .site-button[href*="edstem.org"]:focus {
135-
background-color: #5b21b6;
136-
color: #f5e9ff;
141+
.aux-nav .site-button[href*="edstem.org"]:focus,
142+
.aux-nav .site-button[href*="edstem.org"]:active {
143+
background-color: #5b21b6 !important;
144+
color: #f5e9ff !important;
145+
background-image: none;
146+
box-shadow: none;
147+
filter: none;
137148
}

0 commit comments

Comments
 (0)