Created
February 27, 2013 21:44
-
-
Save emjayess/5052039 to your computer and use it in GitHub Desktop.
hello world drupal module exercise
This file contains hidden or 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
body.node-type-article .field-name-body p:first-child:before { | |
content: "Content starts here! "; | |
font-style: italic; | |
display: block; | |
} | |
body.node-type-article #content:after { | |
content: "Hello World!"; | |
font-weight: bold; | |
font-size: 150%; | |
position: fixed; | |
top: 50%; | |
right: 10px; | |
-webkit-transform: rotate(90deg); | |
writing-mode: tb-rl; | |
} |
This file contains hidden or 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
name = hello world | |
description = prints "hello world" and "content starts here" on article pages (mc module challenge) | |
core = 7.x | |
package = Module Challenge | |
stylesheets[all][] = hello_world.css |
This file contains hidden or 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 | |
/** | |
* Nothing to see here, this is a css-only module | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment