Skip to content

Instantly share code, notes, and snippets.

View jgmac1106's full-sized avatar

Greg McVerry jgmac1106

View GitHub Profile
@jgmac1106
jgmac1106 / style.css
Created May 19, 2018 17:21
36 cell table in CSS GRID
/* Is there a way to write this so I don't have to add another 33 cells manually. 12 rows with three columns */
.schedule .grid-container {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-gap: 10px;
grid-auto-rows: minmax(100px, auto);
color: white;
text-align: center;
padding:20px 0;
font-size: .9em;
@jgmac1106
jgmac1106 / .htaccess
Last active May 17, 2018 01:07
updated
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>