File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 88 border-bottom : 0 ;
99}
1010
11+ .components {
12+ display : flex;
13+ flex-direction : row;
14+ flex-wrap : wrap;
15+ justify-content : space-between;
16+ align-items : flex-start;
17+ align-content : flex-start;
18+ }
19+
20+ .component {
21+ min-height : 200px ;
22+ flex-basis : 48% ;
23+ border : 1px solid # CCCCCC ;
24+ border-radius : 10px ;
25+ margin-bottom : 1em ;
26+ padding-top : 0.25em ;
27+ padding-bottom : 0.25em ;
28+ padding-left : 1em ;
29+ padding-right : 1em ;
30+ }
31+
1132.component h4 {
1233 color : # 018D74 ;
1334 font-size : 1.5em ;
1435}
1536
37+ .component h4 a {
38+ color : # 018D74 ;
39+ }
40+
1641.package {
1742 margin-top : -0.5em ;
1843 padding-top : 0 ;
Original file line number Diff line number Diff line change 33const TEMPLATE = <<< 'EOT'
44<div class="row">
55 <h2>Components</h2>
6+ </div>
67
8+ <div class="components">
79 %components%
810</div>
9-
1011EOT;
1112
1213const PACKAGE_TEMPLATE = <<< 'EOT'
13- <div class="component col-xs-12 col-md-6 ">
14+ <div class="component">
1415 <h4><a href="%href%">%name%</a></h4>
1516 <p class="package">%package%</p>
1617 <p>%description%</p>
1718 </div>
18-
1919EOT;
2020
2121$ root = realpath (getcwd ());
You can’t perform that action at this time.
0 commit comments