File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
22 - Follow Along Link Highlighter Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 11html {
22 box-sizing : border-box;
33}
4+
45* , * : before , * : after {
56 box-sizing : inherit;
67}
8+
79body {
810 min-height : 100vh ;
911 margin : 0 ; /* Important! */
@@ -16,31 +18,31 @@ body {
1618}
1719
1820.wrapper {
19- margin : 0 auto;
20- max-width : 500px ;
21+ margin : 0 auto;
22+ max-width : 500px ;
2123 font-size : 20px ;
2224 line-height : 2 ;
2325 position : relative;
2426}
2527
2628a {
2729 text-decoration : none;
28- color : black;
29- background : rgba (0 , 0 , 0 , 0.05 );
30- border-radius : 20px
30+ color : black;
31+ background : rgba (0 , 0 , 0 , 0.05 );
32+ border-radius : 20px ;
3133}
3234
3335.highlight {
3436 transition : all 0.2s ;
35- border-bottom : 2px solid white;
37+ border-bottom : 2px solid white;
3638 position : absolute;
37- top : 0 ;
38- background : white;
39- left : 0 ;
39+ top : 0 ;
40+ background : white;
41+ left : 0 ;
4042 z-index : -1 ;
41- border-radius : 20px ;
43+ border-radius : 20px ;
4244 display : block;
43- box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 )
45+ box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 );
4446}
4547
4648.menu {
5355
5456.menu a {
5557 display : inline-block;
56- padding : 5px ;
57- margin : 0 20px ;
58- color : black;
58+ padding : 5px ;
59+ margin : 0 20px ;
60+ color : black;
5961}
You can’t perform that action at this time.
0 commit comments