Created
July 12, 2011 20:14
-
-
Save mjangda/1078876 to your computer and use it in GitHub Desktop.
Matrix-like Terminal style for WordPress' Fullscreen / Distraction-Free Writing mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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