File tree Expand file tree Collapse file tree 2 files changed +64
-25
lines changed
Expand file tree Collapse file tree 2 files changed +64
-25
lines changed Original file line number Diff line number Diff line change @@ -13,47 +13,86 @@ pre {
1313 float : left;
1414 width : 100% ;
1515 background-color : white;
16- border : 1px solid # eee ;
1716 border-radius : 5px ;
1817 margin-bottom : 10px ;
18+ border : 1px solid # f1efef ;
19+ box-shadow : 0 0 15px 2px # f9f6f6 ;
1920}
2021
2122.code-card-header ,
2223.example-card-header {
2324 float : left;
2425 width : 100% ;
2526 padding : 3px 10px ;
26- border-bottom : 1px solid # eee ;
27- background-color : # f8f8f8 ;
27+ border-bottom : 1px solid # f1efef ;
28+ }
29+
30+ .code-card-header > h6 ,
31+ .example-card-header > h6 {
32+ color : black;
2833}
2934
3035.code-card-body {
3136 float : left;
3237 width : 100% ;
3338 padding : 10px ;
39+ background : # fffdfd ;
3440}
3541
3642.hljs {
37- background : white ;
43+ background : # fffdfd ;
3844 padding : 0 ;
3945}
4046
41- .nav-links {
42- padding : 2rem ;
43- text-align : right
47+ .container {
48+ display : flex;
49+ height : 100vh ;
50+ letter-spacing : -.15px ;
51+ -webkit-font-smoothing : antialiased;
52+ }
53+
54+ aside {
55+ flex : 1 ;
56+ height : 100% ;
57+ background-color : # e1563f ;
58+ border-right : thin solid # e1563f ;
59+ }
60+
61+ nav {
62+ text-align : right;
4463}
4564
46- .nav-links a {
65+ nav a {
66+ position : relative;
4767 display : block;
4868 padding : 1em ;
49- color : # 777 ;
69+ color : # fbd0c9 ;
5070 text-decoration : none;
5171 text-decoration-skip : ink
5272}
5373
54- . nav-links a .active ,
55- . nav-links a : hover {
56- font-weight : 500 ;
57- color : navy ;
74+ nav a .active ,
75+ nav a : hover {
76+ font-weight : 600 ;
77+ color : white ;
5878 text-decoration : underline
5979}
80+
81+ nav a .active : after {
82+ position : absolute;
83+ content : '' ;
84+ right : -10px ;
85+ top : 17.5px ;
86+ width : 0 ;
87+ height : 0 ;
88+ border-top : 10px solid transparent;
89+ border-bottom : 10px solid transparent;
90+ border-right : 10px solid white;
91+ }
92+
93+ .content {
94+ flex : 3 ;
95+ height : 100% ;
96+ overflow : scroll;
97+ padding-left : 2em
98+ }
Original file line number Diff line number Diff line change 1- <div class =" fl w-100 sans-serif" >
2- <div class =" fl w-30 pa-2 " >
3- <div class =" fl w-100 mt6 nav-links " >
1+ <div class =" fl w-100 sans-serif container " >
2+ <aside class =" fl w-20 pa2 " >
3+ <nav class =" fl w-100 mt6" >
44 {{ #link-to " index" }}
55 Basic Usage
66 {{ /link-to }}
2020 {{ #link-to " appearance" }}
2121 Customization
2222 {{ /link-to }}
23- </div >
24- </div >
23+ </nav >
24+ </aside >
2525
26- <div class =" fl w-50 pa-2" >
27- <div class =" lh-copy" >
28- <h1 >ember-inline-edit</h1 >
26+ <div class =" fl w-50 pa2 content" >
27+ <h1 class =" mt4 ma0 fw9" >ember-inline-edit</h1 >
2928
30- <div class =" p gray f4" >
31- ember-inline-edit is a simple component that provides inline editing for your ember.js
32- apps. It also has basic keyboard support.
33- </div >
29+ <div class =" p gray f4 fw5 mt3 measure lh-copy explanation " >
30+ ember-inline-edit is a simple component that provides inline editing for your ember.js
31+ apps. It also has basic keyboard support.
32+ </div >
3433
34+ <div class =" lh-copy" >
3535 {{ outlet }}
3636 </div >
3737 </div >
You can’t perform that action at this time.
0 commit comments