Skip to content

Instantly share code, notes, and snippets.

@mjangda
Created July 12, 2011 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjangda/1078876 to your computer and use it in GitHub Desktop.
Save mjangda/1078876 to your computer and use it in GitHub Desktop.
Matrix-like Terminal style for WordPress' Fullscreen / Distraction-Free Writing mode
<?php
/**
* Plugin Name: DFW Matrix
* Plugin Description: Matrix-like Terminal style for WordPress' Fullscreen / Distraction-Free Writing mode. Styles borrowed from http://wordpress.org/extend/plugins/zen
* License: GPL v2 Baby!
*/
add_action( 'admin_print_styles-post.php', 'dfw_terminal_style' );
add_action( 'admin_print_styles-post-new.php', 'dfw_terminal_style' );
function dfw_terminal_style() {
?>
<style>
.fullscreen-active,
#wp-fullscreen-body,
#fullscreen-overlay {
background: #000 !important;
}
#wp-fullscreen-body input[type=text],
#wp-fullscreen-body textarea,
#wp-fullscreen-body #wp-fullscreen-title-prompt-text {
font-family: Courier New, Courier, monospace;
color: #00f91d;
}
</style>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment