Skip to content

Instantly share code, notes, and snippets.

View dannycjones's full-sized avatar

Daniel Carl Jones dannycjones

View GitHub Profile
@dannycjones
dannycjones / Status Box.css
Last active December 29, 2015 22:29
A Status Box that can be used to manually show the status of sections of your community.
/* Modify the code here in order to style the Status Box */
.report_problem {
font-size: 9pt;
color: #1E90FF;
font-style:italic;
}
.status_title {
font-weight:600;
display:none;
@dannycjones
dannycjones / Daniel Carl VB Splash.vb
Last active June 2, 2016 07:24
A Simple Console Splash Screen in Visual Basic
Module Logo
Sub Print(Optional ByVal wait As Integer = 0)
Dim logo_lines(6) As String
Console.Title = "A Project By Daniel Carl"
Console.ForegroundColor = ConsoleColor.Cyan
logo_lines(0) = " "
logo_lines(1) = " ___ _ __ _____ __"
logo_lines(2) = " / _ \___ ____ (_)__ / / / ___/__ _____/ /"
logo_lines(3) = " / // / _ `/ _ \/ / -_) / / /__/ _ `/ __/ / "
logo_lines(4) = " /____/\_,_/_//_/_/\__/_/ \___/\_,_/_/ /_/ "
@dannycjones
dannycjones / announcements.html
Created December 9, 2013 13:33
A Fancy, but simple announcements box with animated background.
<style>
@keyframes animate-bg
{
from {background-position:0px 0px;}
to {background-position:-40px -40px;}
}
@-webkit-keyframes animate-bg
{
from {background-position:0px 0px;}
to {background-position:-40px -40px;}
@dannycjones
dannycjones / hide-smug-footer.css
Last active August 29, 2015 13:56
Hide the new Smugmug Footer
@dannycjones
dannycjones / custom-smug-search.html
Last active August 29, 2015 13:56
A modified search box for SmugMug.
<form action="/search/" method="get" class="sm-search-form" style="text-align:left">
<div>
<input type="hidden" name="c" value="everything" />
<input type="hidden" name="n" value="corinos" />
<input type="hidden" name="scope" value="node" />
<input type="hidden" name="scopeValue" value="0" />
<input type="text" name="q" class="sm-form-field sm-form-field-text-input" placeholder="Search..." />
<button style="width:100%; margin:0;" class="sm-button sm-button-size-small sm-button-skin-accent">
<span class="sm-button-label">Search</span>
</button>
@dannycjones
dannycjones / wufoo-style.css
Last active August 29, 2015 13:56
A CSS File to style a Wufoo Form on Smugmug.
textarea, input {
color:#DEDEDE !important;
background:none !important;
background-color:#080808 !important;
border-color:#1A1A1A !important;
border-width:1px !important;
border-style:solid !important;
outline-width:0;
padding:6px 12px 5px !important;
border-color:#212121 !important;
@dannycjones
dannycjones / detailed-breadcrumb-mod.css
Last active August 29, 2015 13:56
Shorten's breadcrumb to only show current & parent page when on mobile & tablet.
/* Shorten Breadcrumbs on Tablet and Smartphones */
/* Coded by Dan Jones */
@media only screen and (max-width: 1024px) {
ul.sm-breadcrumb > li.sm-breadcrumb-item {
display:none;
}
ul.sm-breadcrumb li:nth-child(1), ul.sm-breadcrumb li:nth-child(2), ul.sm-breadcrumb li:nth-last-child(1), ul.sm-breadcrumb li:nth-last-child(2), ul.sm-breadcrumb li:nth-last-child(3), ul.sm-breadcrumb li:nth-last-child(4) {
display:inline-block;
@dannycjones
dannycjones / code.css
Last active August 29, 2015 13:56
Code Formatting for Smugmug
div.code div pre {
margin: 0;
padding: 6px 12px;
}
div.code > div {
margin: 5px 10px;
background-color: #1A1A1A;
border-color: #212121;
border-style: solid;
@-webkit-keyframes rainbow {
0% {color: #39f;
text-shadow: 0px 0px 6px #39f;}
15% {color: #8bc5d1;
text-shadow: 0px 0px 6px #8bc5d1;}
30% {color: #f8cb4a;
text-shadow: 0px 0px 6px #f8cb4a;}
45% {color: #95b850;
text-shadow: 0px 0px 6px #95b850;}
60% {color: #944893;