23
23
--nav-link-spacing-horizontal : 0.5rem ;
24
24
--form-label-font-weight : var (--font-weight );
25
25
--transition : 0.2s ease-in-out;
26
- --function-name-color : # 1de9b6 ;
26
+ --function-name-color : rgba ( 229 , 190 , 51 , 1 ) ;
27
27
--function-name-color-hover : # 0091ea ;
28
28
}
29
29
@@ -2067,7 +2067,7 @@ ul.check li::before {
2067
2067
height : 1rem ;
2068
2068
margin-top : .25rem ;
2069
2069
margin-left : -1.5rem ;
2070
- background-image : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(16, 149, 193, 0.999 )' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E" );
2070
+ background-image : url ("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(229, 190, 51, 1 )' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E" );
2071
2071
background-size : 100% ;
2072
2072
content : ""
2073
2073
}
@@ -2128,7 +2128,7 @@ header {
2128
2128
}
2129
2129
2130
2130
# examples , # star {
2131
- background-color : var ( --background-color )
2131
+ background-color : rgba ( 255 , 255 , 255 , 0.55 );
2132
2132
}
2133
2133
2134
2134
# principles {
@@ -2896,6 +2896,14 @@ nav {
2896
2896
}
2897
2897
}
2898
2898
2899
+ ul a : hover ,
2900
+ ol a : hover ,
2901
+ ul a : focus ,
2902
+ ol a : focus {
2903
+ color : var (--primary-hover );
2904
+ transition : color var (--transition );
2905
+ }
2906
+
2899
2907
/* ===========================
2900
2908
Navigation Styles
2901
2909
=========================== */
@@ -2915,6 +2923,16 @@ nav {
2915
2923
overflow : hidden;
2916
2924
}
2917
2925
2926
+ .nav a {
2927
+ color : # fff ;
2928
+ }
2929
+
2930
+ .nav a : hover ,
2931
+ .nav a : focus {
2932
+ border-radius : var (--border-radius );
2933
+ transform : translateY (-1px );
2934
+ transition : all var (--transition );
2935
+ }
2918
2936
2919
2937
.nav ul {
2920
2938
gap : 1rem ;
@@ -3125,19 +3143,90 @@ header .header-image {
3125
3143
align-items : center;
3126
3144
}
3127
3145
3128
- .header-cta a [aria-label = "Documentation" ] {
3146
+ .header-cta a {
3147
+ display : inline-flex;
3148
+ align-items : center;
3149
+ height : 2.5rem ;
3150
+ font-weight : 600 ;
3151
+ padding : 0 1.5em ;
3152
+ white-space : nowrap;
3153
+ text-decoration : none;
3154
+ transition : all 0.2s ease;
3155
+ position : relative;
3156
+ border : 2px solid transparent;
3157
+ }
3158
+
3159
+ .header-cta a : active {
3160
+ transform : translateY (1px );
3161
+ box-shadow : 2px 2px 0 rgba (0 , 0 , 0 , 0.6 );
3162
+ }
3163
+
3164
+ .header-cta a .primary {
3165
+ background : rgb (229 , 190 , 51 );
3166
+ color : # 0e0e0e ;
3167
+ box-shadow : 6px 6px 0 # 000 ;
3168
+ border-color : rgb (229 , 190 , 51 );
3169
+ }
3170
+
3171
+ .header-cta a .primary : hover {
3172
+ background : rgb (255 , 215 , 0 );
3173
+ transform : translateY (-2px );
3174
+ box-shadow : 6px 6px 0 # 000 ;
3175
+ border-color : rgb (255 , 215 , 0 );
3176
+ }
3177
+
3178
+ .header-cta a .primary : active {
3179
+ background : rgb (200 , 170 , 40 );
3180
+ border-color : rgb (200 , 170 , 40 );
3181
+ box-shadow : 2px 2px 0 # 000 ;
3182
+ }
3183
+
3184
+ .header-cta a .secondary {
3185
+ background : rgb (29 , 233 , 182 );
3186
+ color : # 0e0e0e ;
3187
+ box-shadow : 6px 6px 0 rgba (0 , 0 , 0 , 0.8 );
3188
+ border-color : rgb (29 , 233 , 182 );
3189
+ }
3190
+
3191
+ .header-cta a .secondary : hover {
3192
+ background : rgb (0 , 145 , 234 );
3129
3193
color : # fff ;
3130
- background-color : rgba (255 , 255 , 255 , 0.25 );
3194
+ transform : translateY (-2px );
3195
+ box-shadow : 6px 6px 0 rgba (0 , 0 , 0 , 0.8 );
3196
+ border-color : rgb (0 , 145 , 234 );
3131
3197
}
3132
3198
3133
- .header-cta a [aria-label = "Documentation" ]: hover {
3134
- background-color : rgba (255 , 255 , 255 , 0.4 );
3135
- transform : translateY (-1px );
3199
+ .header-cta a .secondary : active {
3200
+ background : rgb (0 , 120 , 200 );
3201
+ color : # fff ;
3202
+ border-color : rgb (0 , 120 , 200 );
3203
+ box-shadow : 2px 2px 0 rgba (0 , 0 , 0 , 0.8 );
3136
3204
}
3137
3205
3138
- .header-cta a [aria-label = "Download" ]: hover {
3139
- background-color : rgba (255 , 255 , 255 , 0.15 );
3140
- transform : translateY (-1px );
3206
+ .header-cta a .contrast .outline {
3207
+ background : transparent;
3208
+ color : # fff ;
3209
+ border-color : rgba (255 , 255 , 255 , 0.8 );
3210
+ box-shadow : 6px 6px 0 rgba (0 , 0 , 0 , 0.4 );
3211
+ }
3212
+
3213
+ .header-cta a .contrast .outline : hover {
3214
+ background : rgba (255 , 255 , 255 , 0.1 );
3215
+ color : # fff ;
3216
+ border-color : # fff ;
3217
+ transform : translateY (-2px );
3218
+ box-shadow : 6px 6px 0 rgba (0 , 0 , 0 , 0.6 );
3219
+ }
3220
+
3221
+ .header-cta a .contrast .outline : active {
3222
+ background : rgba (255 , 255 , 255 , 0.2 );
3223
+ border-color : # fff ;
3224
+ box-shadow : 2px 2px 0 rgba (0 , 0 , 0 , 0.4 );
3225
+ }
3226
+
3227
+ .header-cta a : focus {
3228
+ outline : 2px solid var (--primary-focus );
3229
+ outline-offset : 3px ;
3141
3230
}
3142
3231
3143
3232
/* ===========================
@@ -3187,6 +3276,10 @@ header .header-image {
3187
3276
}
3188
3277
}
3189
3278
3279
+ .principles-features svg {
3280
+ color : var (--function-name-color );
3281
+ }
3282
+
3190
3283
.features hgroup {
3191
3284
margin-bottom : var (--block-spacing-vertical );
3192
3285
}
@@ -3217,4 +3310,33 @@ table th {
3217
3310
3218
3311
table code {
3219
3312
padding : 0 ;
3220
- }
3313
+ }
3314
+
3315
+ /* ===========================
3316
+ Github Star Styles
3317
+ =========================== */
3318
+
3319
+ # star {
3320
+ background-color : rgba (255 , 255 , 255 , 0.75 );
3321
+ }
3322
+
3323
+ /* ===========================
3324
+ Footer Styles
3325
+ =========================== */
3326
+
3327
+ footer ul {
3328
+ display : flex;
3329
+ justify-content : center;
3330
+ align-items : center;
3331
+ list-style : none;
3332
+ padding : 0 ;
3333
+ margin : 0 ;
3334
+ }
3335
+
3336
+ footer a : hover ,
3337
+ footer a : focus {
3338
+ color : var (--primary-hover ) !important ;
3339
+ text-decoration : underline;
3340
+ transform : translateY (-1px );
3341
+ transition : all var (--transition );
3342
+ }
0 commit comments