File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,21 @@ Call to action effects
4646
4747: root {
4848 /* Light Cornflower Blue */
49- --box-flap-color-1 : # 94cbe3 ;
49+ --box-flap-color-1 : theme ( 'colors.jsmn-blue' ) ;
5050 /* English Red */
51- --box-flap-color-2 : # b73f53 ;
51+ --box-flap-color-2 : theme ( 'colors.jsmn-red' ) ;
5252 /* Old Mauve (not used yet) */
53- --box-flap-color-3 : # 6b334a ;
53+ --box-flap-color-3 : theme ( 'colors.jsmn-mauve' ) ;
5454
5555 --box-flap-size : theme ('spacing.16' );
5656 --box-flap-offset : theme ('spacing.8' );
5757}
5858
5959.box-flap {
60+ /*
61+ Box flap inspiration, by kang, 2019.
62+ https://codepen.io/inyoung1/pen/gZVdeX
63+ */
6064 position : relative;
6165}
6266
Original file line number Diff line number Diff line change 1- <nav class =" bg-gray-800 shadow-md relative" >
1+ <nav class =" bg-jsmn-black shadow-md relative" >
22 <div class =" container mx-auto px-2 sm:px-6 lg:px-8" >
33 <div class =" relative flex items-center justify-between h-16" >
44 <div class =" absolute inset-y-0 left-0 flex items-center sm:hidden" >
7070 {% for link in site .navigation %}
7171 <a
7272 href =" {{ link.path | url }}"
73- class =" ml-4 px-3 py-2 text-sm font-medium leading-5 text-gray-300 hover:text-white hover:bg-gray-700 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
73+ class =" ml-4 px-3 py-2 text-sm font-medium leading-5 text-gray-300 hover:text-white border-b-2 border-transparent hover:border-jsmn-yellow focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
7474 >{{ link .text }} </a
7575 >
7676 {% endfor %}
8484 {% for link in site .navigation %}
8585 <a
8686 href =" {{ link.path | url }}"
87- class =" mt-1 block px-3 py-2 text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
87+ class =" mt-1 block px-3 py-2 text-base font-medium text-gray-300 hover:text-white border-l-4 border-transparent hover:border-jsmn-yellow focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out"
8888 >{{ link .text }} </a
8989 >
9090 {% endfor %}
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ module.exports = {
2525 white : '#fff' ,
2626
2727 'jsmn-yellow' : '#e5cf5f' ,
28+ 'jsmn-black' : '#242323' ,
29+ 'jsmn-blue' : '#94cbe3' ,
30+ 'jsmn-red' : '#b73f53' ,
31+ 'jsmn-mauve' : '#6b334a' ,
2832
2933 gray : {
3034 100 : '#f7fafc' ,
You can’t perform that action at this time.
0 commit comments