forked from mirror/_s
Merge pull request #311 from vinodvdalvi/master
CSS and Comments Changes
This commit is contained in:
commit
1ba6c9e1fe
1
404.php
1
404.php
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
get_header(); ?>
|
get_header(); ?>
|
||||||
|
|
||||||
|
|
||||||
<div id="primary" class="content-area">
|
<div id="primary" class="content-area">
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ My ultra-minimal CSS might make me look like theme tartare but that means less s
|
||||||
* A sample custom header implementation in `inc/custom-header.php` that can be activated by uncommenting one line in functions.php and adding the code snippet found the comments of `inc/custom-header.php` to your `header.php` template.
|
* A sample custom header implementation in `inc/custom-header.php` that can be activated by uncommenting one line in functions.php and adding the code snippet found the comments of `inc/custom-header.php` to your `header.php` template.
|
||||||
* Custom template tags in `inc/template-tags.php` that keep your templates clean and neat and prevent code duplication.
|
* Custom template tags in `inc/template-tags.php` that keep your templates clean and neat and prevent code duplication.
|
||||||
* Some small tweaks in `inc/extras.php` that can improve your theming experience.
|
* Some small tweaks in `inc/extras.php` that can improve your theming experience.
|
||||||
* Keyboard navigation for image attachment templates. The script can be found in `js/keyboard-navigation.js`. It's enqueued in `functions.php`.
|
* Keyboard navigation for image attachment templates. The script can be found in `js/keyboard-image-navigation.js`. It's enqueued in `functions.php`.
|
||||||
* A script at `js/navigation.js` that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It's enqueued in `functions.php`.
|
* A script at `js/navigation.js` that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It's enqueued in `functions.php`.
|
||||||
* 2 sample CSS layouts in `layouts` for a sidebar on either side of your content.
|
* 2 sample CSS layouts in `layouts` for a sidebar on either side of your content.
|
||||||
* Smartly organized starter CSS in `style.css` that will help you to quickly get your design off the ground.
|
* Smartly organized starter CSS in `style.css` that will help you to quickly get your design off the ground.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* The template for displaying the footer.
|
* The template for displaying the footer.
|
||||||
*
|
*
|
||||||
* Contains the closing of the id=main div and all content after
|
* Contains the closing of the #content div and all content after
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/**
|
/**
|
||||||
* The Header for our theme.
|
* The Header for our theme.
|
||||||
*
|
*
|
||||||
* Displays all of the <head> section and everything up till <main id="main">
|
* Displays all of the <head> section and everything up till <div id="content">
|
||||||
*
|
*
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* @package _s
|
* @package _s
|
||||||
*/
|
*/
|
||||||
|
|
||||||
get_header();
|
get_header(); ?>
|
||||||
?>
|
|
||||||
|
|
||||||
<div id="primary" class="content-area image-attachment">
|
<div id="primary" class="content-area image-attachment">
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main">
|
||||||
|
|
13
style.css
13
style.css
|
@ -164,9 +164,9 @@ pre {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 1.6em;
|
margin-bottom: 1.6em;
|
||||||
padding: 1.6em;
|
|
||||||
overflow: auto;
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
padding: 1.6em;
|
||||||
}
|
}
|
||||||
code, kbd, tt, var {
|
code, kbd, tt, var {
|
||||||
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||||
|
@ -423,9 +423,9 @@ a:active {
|
||||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||||
display: none;
|
display: none;
|
||||||
float: left;
|
float: left;
|
||||||
|
left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1.5em;
|
top: 1.5em;
|
||||||
left: 0;
|
|
||||||
z-index: 99999;
|
z-index: 99999;
|
||||||
}
|
}
|
||||||
.main-navigation ul ul ul {
|
.main-navigation ul ul ul {
|
||||||
|
@ -452,8 +452,8 @@ a:active {
|
||||||
|
|
||||||
/* Small menu */
|
/* Small menu */
|
||||||
.menu-toggle {
|
.menu-toggle {
|
||||||
display: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
@ -574,6 +574,7 @@ object {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* =Comments
|
/* =Comments
|
||||||
----------------------------------------------- */
|
----------------------------------------------- */
|
||||||
|
|
||||||
|
@ -583,6 +584,7 @@ object {
|
||||||
.bypostauthor {
|
.bypostauthor {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* =Widgets
|
/* =Widgets
|
||||||
----------------------------------------------- */
|
----------------------------------------------- */
|
||||||
|
|
||||||
|
@ -600,6 +602,7 @@ object {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* =Infinite Scroll
|
/* =Infinite Scroll
|
||||||
----------------------------------------------- */
|
----------------------------------------------- */
|
||||||
|
|
||||||
|
|
Reference in New Issue