File tree Expand file tree Collapse file tree 3 files changed +35
-31
lines changed
assets/stylesheets/partials Expand file tree Collapse file tree 3 files changed +35
-31
lines changed Original file line number Diff line number Diff line change 3434 }
3535}
3636
37- // ----------------------------
38- // Individual Results
39- // ----------------------------
40-
4137.results-list {
4238 list-style-type : none ;
4339 padding : 0 ;
4440}
4541
42+ // ----------------------------
43+ // Individual Results
44+ // ----------------------------
45+
4646li .result {
4747 margin-bottom : 48px ;
4848
49- .result-content {
50- line-height : 1.2 ;
49+ .eyebrow {
50+ font-size : 1.3rem ;
51+ font-weight : $fw-medium ;
52+ letter-spacing : 0.05em ;
53+ text-transform : uppercase ;
54+ }
5155
52- .record-title {
53- font-size : 2.4rem ;
54- line-height : 1.1 ;
56+ .record-title {
57+ font-size : 2.4rem ;
58+ line-height : 1.1 ;
5559
56- a {
57- @include underlinedLinks ;
58- font-weight : $fw-semibold ;
59- }
60+ a {
61+ @include underlinedLinks ;
62+ font-weight : $fw-semibold ;
6063 }
64+ }
6165
62- .pub-info {
63- font-size : $fs-base ;
64- color : $gray-d1 ;
65- span :first-child :after {
66- content : " | " ;
67- }
68- margin : 1em 0 ;
66+ .pub-info {
67+ font-size : $fs-base ;
68+ color : $gray-d1 ;
69+ span :first-child :after {
70+ content : " | " ;
6971 }
72+ margin-bottom : 1em ;
73+ }
7074
71- .result-summary {
72- margin-bottom : 2.4em ;
73- }
75+ .result-summary {
76+ margin-bottom : 2.4em ;
77+ }
7478
75- .result-highlights {
76- margin-top : 1.4em ;
77- ul {
78- list-style : none ;
79- li {
80- margin-left : 2rem ;
81- }
79+ .result-highlights {
80+ margin-top : 1.4em ;
81+ ul {
82+ list-style : none ;
83+ li {
84+ margin-left : 2rem ;
8285 }
8386 }
8487 }
8588
8689 .result-get ,
8790 .result-record {
88- padding-top : 5px ;
8991 a :visited {
9092 color : $white ;
9193 }
Original file line number Diff line number Diff line change 11< li class ="result ">
22 < div class ="result-content ">
3+ < p class ="eyebrow "> Eyebrow Text</ p >
34 < h3 class ="record-title ">
45 < span class ="sr "> Title: </ span >
56 <%= link_to_result ( result ) %>
Original file line number Diff line number Diff line change 11< li class ="result ">
22 < div class ="result-content ">
3+ < p class ="eyebrow "> Eyebrow Text</ p >
34 < h3 class ="record-title ">
45 < span class ="sr "> Title: </ span >
56 <% if result [ :links ] &.find { |link | link [ 'kind' ] == 'full record' } %>
You can’t perform that action at this time.
0 commit comments