Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove bottom border on singular entries

And remove the responsive comment styles
  • Loading branch information...
commit 3026ff8fb9089cf984d459e1f8bcd0187d7249dd 1 parent 0aadbd4
@jayj authored
Showing with 7 additions and 32 deletions.
  1. +2 −2 functions.php
  2. +5 −30 style.dev.less
View
4 functions.php
@@ -1013,10 +1013,10 @@ function cakifo_body_class( $classes ) {
* @since Cakifo 1.5
*/
function cakifo_html5_comment_fields( $fields ) {
- if( isset( $fields['email'] ) )
+ if ( isset( $fields['email'] ) )
$fields['email'] = str_replace( 'type="text"', 'type="email"', $fields['email'] );
- if( isset( $fields['url'] ) )
+ if ( isset( $fields['url'] ) )
$fields['url'] = str_replace( 'type="text"', 'type="url"', $fields['url'] );
return $fields;
View
35 style.dev.less
@@ -472,6 +472,11 @@ sub {
position: relative;
}
+.singular .hentry {
+ border-bottom: none;
+ padding-bottom: 0;
+}
+
.sticky {
background: darken(#ffffe9, 2%);
padding: @smallGutterWidth;
@@ -1358,36 +1363,6 @@ sub {
width: 100% !important;
float: none !important;
}
-
- /* Make the comment form better */
- #respond p.form-email,
- #respond p.form-author {
- float: none;
- width: 100%;
- }
-
- #respond p.form-author input[type="text"],
- #respond p.form-email input[type="text"] {
- width: 98%;
- }
-
- #respond p.form-email input[type="text"] {
- float: none;
- }
-
- #respond label {
- font-size: 16px;
- }
-
- #respond p.form-email > label {
- padding-left: 0;
- }
-
- #respond #submit {
- font-size: 18px;
- width: 100%;
- padding: 25px;
- }
}
/* =============================================================================
Please sign in to comment.
Something went wrong with that request. Please try again.