Skip to content

Commit 22a8993

Browse files
committed
Style package index
fix hr package horizontal tables common form elements like a search
1 parent 4ad0dab commit 22a8993

1 file changed

Lines changed: 32 additions & 27 deletions

File tree

assets/css/stylesheet.css

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ th {
122122
border-bottom: 1px solid #e3e3e3;
123123
}
124124

125+
.horizontal th,
125126
td {
126127
background: #fff;
127128
border-bottom: 1px solid #e3e3e3;
@@ -134,7 +135,7 @@ td {
134135
}
135136

136137

137-
138+
.horizontal tr:nth-child(even) th,
138139
tr:nth-child(even) td {
139140
background: transparent;
140141
}
@@ -143,15 +144,14 @@ tr td:first-child {
143144
border-left: none;
144145
}
145146

146-
.horizontal td {
147+
148+
table.horizontal th {
147149
border-bottom: none;
150+
font-weight: 400px;
148151
}
149152

150-
hr {
151-
height: 0;
152-
border: 0;
153-
border-bottom: 1px dashed #999;
154-
color: #b5e853;
153+
table.horizontal td {
154+
border-bottom: none;
155155
}
156156

157157
/**
@@ -225,6 +225,18 @@ pre code {
225225
border-radius: 0.3em;
226226
}
227227

228+
/* Forms */
229+
.form-control {
230+
font-size: 14px;
231+
line-height: 18px;
232+
padding: 0.4em 0.5em 0.5em 0.5em;
233+
border: none;
234+
box-shadow: none;
235+
}
236+
input[type="search"] {
237+
-webkit-appearance: none;
238+
}
239+
228240

229241
/* Clearfix */
230242

@@ -346,19 +358,12 @@ footer {
346358
}
347359

348360
/* Search in header */
349-
input.search {
361+
.main-nav .search {
350362
border-radius: 3em;
351363
width: 200px;
352364
background: #292929;
353-
color: #585858;
354-
}
355-
356-
.main-nav .search {
357-
border: none;
358365
color: #f1f1f1;
359-
font-size: 14px;
360-
line-height: 18px;
361-
padding: 0.4em 0.5em 0.5em 0.5em;
366+
362367
-webkit-transition-duration: 400ms;
363368
-webkit-transition-property: width, background;
364369
-webkit-transition-timing-function: ease;
@@ -477,10 +482,19 @@ h1, h2, h3, h4, h5, h6 {
477482
margin-top: 30px;
478483
}
479484

485+
hr,
480486
.hentry {
481487
border-bottom: 1px solid #FFFFFF;
482488
position: relative;
483489
}
490+
491+
hr {
492+
height: 2px;
493+
border: none;
494+
margin-bottom: 1em;
495+
}
496+
497+
hr:after,
484498
.hentry:after {
485499
content: "";
486500
display: block;
@@ -565,19 +579,10 @@ h1, h2, h3, h4, h5, h6 {
565579
float: right;
566580
}
567581

568-
569-
hr {
570-
margin-bottom: 1em;
571-
}
572-
table.horizontal th {
573-
border-bottom: none;
574-
}
575-
576582
/* Packaging index */
577583
.package {
578-
border-bottom: 1px dashed #999;
579-
padding-bottom: 1em;
580-
margin-bottom: 1em;
584+
border-bottom: 1px solid #fff;
585+
margin-bottom: 2em;
581586
}
582587
.package th {
583588
width: 150px;

0 commit comments

Comments
 (0)