Skip to content

Instantly share code, notes, and snippets.

View jhned's full-sized avatar

Josh Nederveld jhned

View GitHub Profile
<div class="module">
<div class="image">
<img src="a-cool-cucumber.gif" />
</div>
<div class="text">
<h3 class="title">This Block's Title</h3>
</div>
</div>
<div class="parent">
<div class="generic-child-element">
</div>
<div class="unique-child-element">
<h3 class="title">This Block's Title</h3>
</div>
<div class="another-child-element">
Some text…
</div>
.parent {
width: 50%;
float: left;
&:before, &:after {
content: "";
}
&:first-child {
color: red;
}
$small-breakpoint: em-calc(640) !default;
$medium-breakpoint: em-calc(1024) !default;
$large-breakpoint: em-calc(1440) !default;
$xlarge-breakpoint: em-calc(1920) !default;
display
width
height
margin
padding
position
top
right
bottom
left
%tcell {
display: table-cell;
vertical-align: middle;
}
@mixin pseudo-triangle {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
/*——————————————————————————————————————————————————————————
/ Details: Tablet & Up
/—————————————————————————————————————————————————————————*/
@media #{$medium-up} {
ul {
@include columns(3 3em)
padding-left: 0;
border-left: 0;
var admin_actions = [
{
"title" : "Publish",
"target" : "input[type=\"submit\"]#publish",
"action" : "click",
"shortcut" : "shift+s"
},
{
"title" : "View Post",
var admin_pages = [
{
"title" : "Dashboard",
"object_type" : false,
"object_name" : false,
"url" : "index.php",
"dashicon" : "dashicons-dashboard" // include dashicons for top-level admin pages.
},
{
var user_content = [
{
"title" : "Front Page",
"id" : "701",
"object_type" : "post_type",
"object_name" : "page",
"url" : "post.php?post=701&action=edit"
},
{