Skip to content

Instantly share code, notes, and snippets.

View jensimmons's full-sized avatar

Jen Simmons jensimmons

View GitHub Profile
@jensimmons
jensimmons / reset.css
Created February 1, 2018 20:13
Jen Simmons 2018 Reset Stylesheet in Progress
* {
box-sizing: border-box;
}
sub, sup {
font-size: inherit;
vertical-align: sub;
line-height: normal;
top: 0;
bottom: 0;
Verifying that +jensimmons is my blockchain ID. https://onename.com/jensimmons
@jensimmons
jensimmons / jensadmin.scss
Last active August 29, 2015 14:05
Jen's Child-of-Seven Drupal Admin theme code
// ----------------------------------------------------------------
// FORMS
// ----------------------------------------------------------------
// Why are the buttons so far apart? Yuk. Fixed.
input.form-submit, a.button {
margin-right: 0.5em;
}
// Core field module overrides Seven styling for labels inside tables. Wha? Does Seven expect you aren't using fields?
$view = new view;
$view->name = 'updates';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Updates';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@jensimmons
jensimmons / views-view-grid.tpl.php
Created April 3, 2012 21:00
Switching Drupal Views Grid to unordered lists
<?php
/**
* @file views-view-grid.tpl.php
* Default simple view template to display a rows in a grid.
*
* - $rows contains a nested array of rows. Each row contains an array of
* columns.
*
* @ingroup views_templates
*/