Skip to content

Commit abb455e

Browse files
evuevu
evu
authored and
evu
committed
Minor Improvements
Some things I forgot to add
1 parent 05524fb commit abb455e

10 files changed

+27
-15
lines changed

assets/css/_reset.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ a:hover, a:active { outline: 0; }
1616
a:focus { outline: thin dotted; }
1717

1818
table { border-collapse: collapse; border-spacing: 0; }
19-
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; max-width: 100%; }
19+
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; max-width: 100%; height: auto; }
2020

2121
html, button, input, select, textarea { font-family: inherit; color: #222; font-size: 100%; }
2222
label, button, input, select, textarea, option { vertical-align: baseline; *vertical-align: middle; cursor: pointer; }
@@ -32,7 +32,7 @@ input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
3232
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }
3333

3434
.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; text-align: center; }
35-
.chromeframe a { color: blue }
35+
.chromeframe a { color: #00e; }
3636

3737
@media print {
3838
* { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; }

assets/css/_typography.less

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/* ================================ !TYPE & SELECTION */
22

33
a {
4-
color: #00e;
4+
color: @brand;
55
text-decoration: none;
66

77
&:hover,
88
&:focus {
9-
color: #06e;
9+
color: lighten(@brand, 10%);
1010
}
1111
&:active {
1212
transform: translateY(1px);
1313
}
1414
}
1515

16-
::-moz-selection { background: #06e; color: #fff; text-shadow: none }
17-
::selection { background: #06e; color: #fff; text-shadow: none }
16+
::-moz-selection { background: @brand; color: #fff; text-shadow: none }
17+
::selection { background: @brand; color: #fff; text-shadow: none }
1818

1919

2020
body {

assets/css/_utility.less

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@
1313
}
1414
}
1515

16+
.clear {
17+
clear: both;
18+
}
19+
.clear-left {
20+
clear: left;
21+
}
22+
.clear-right {
23+
clear: right;
24+
}
1625

1726
.textleft {
1827
text-align: left;
@@ -49,6 +58,7 @@
4958

5059

5160
.w10 { width: 10%; }
61+
.w12 { width: 12.5%; }
5262
.w20 { width: 20%; }
5363
.w25 { width: 25%; }
5464
.w30 { width: 30%; }

functions.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ function tidy_head() {
4646
// Add RSS links to <head> section
4747
add_theme_support( 'automatic-feed-links' );
4848

49+
// Stop default adding image links in posts
50+
update_option('image_default_link_type','none');
4951

50-
52+
5153

5254

5355
/* ================================ !ROLE CAPABILITIES */

index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
<section role="main" class="page-content">
14+
<section role="main" class="page-content alignleft">
1515

1616

1717
<h1><?php echo $the_header; ?></h1>

page-template.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
get_header(); ?>
88

9-
<section role="main" class="page-content">
9+
<section role="main" class="page-content alignleft">
1010

1111

1212

@@ -20,7 +20,7 @@
2020
<h1><?php the_title(); ?></h1>
2121

2222

23-
<?php excerpt_or_more(); ?>
23+
<?php the_content(); ?>
2424

2525

2626
</article>

page.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php get_header(); ?>
22

33

4-
<section role="main" class="page-content">
4+
<section role="main" class="page-content alignleft">
55

66

77

@@ -15,7 +15,7 @@
1515
<h1><?php the_title(); ?></h1>
1616

1717

18-
<?php excerpt_or_more(); ?>
18+
<?php the_content(); ?>
1919

2020

2121
</article>

search.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php get_header(); ?>
22

33

4-
<section role="main" class="page-content">
4+
<section role="main" class="page-content alignleft">
55

66

77
<?php if (have_posts()) : ?>

sidebar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<aside class="sidebar">
1+
<aside class="sidebar alignright">
22

33
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Widgets')) : else : ?>
44

single.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php get_header(); ?>
22

3-
<section role="main" class="page-content">
3+
<section role="main" class="page-content alignleft">
44

55

66
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

0 commit comments

Comments
 (0)