Project

General

Profile

Download (1.48 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * Node Styling
4
 *
5
 * Style anything that isn't in the $content variable.
6
 */
7

    
8
@import "base";
9

    
10

    
11
.block, .node { /* style links only for content in blocks and node */
12
  @include cdm-link-style;
13
}
14

    
15

    
16
.node { /* Node wrapper */
17

    
18
  .preview & { /* Preview of the content before submitting new or updated content */
19
    /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
20
  }
21

    
22
  .node-title { /* Node title */
23
    display: none;
24
  }
25

    
26
  .user-picture { /* The picture of the node author */
27
  }
28

    
29
  .submitted { /* The "posted by" information */
30
  }
31

    
32
  .content { /* Node's content wrapper */
33
  }
34

    
35
  ul.links { /* Node links. See also the ul.links declaration in the pages.css. */
36
  }
37

    
38
}
39

    
40
.node-promoted { /* A node that has been promoted to the front page */
41
}
42

    
43
.node-sticky { /* A sticky node (displayed before others in a list) */
44
}
45

    
46
.node-by-viewer { /* A node created by the current user */
47
}
48

    
49
.node-teaser { /* A node displayed as teaser */
50
}
51

    
52
/*
53
 * All nodes are given a node-FOO class that describes the type of content that
54
 * it is. If you create a new content type called "my-custom-type", it will
55
 * receive a "node-my-custom-type" class.
56
 */
57

    
58
.node-page { /* Page content node */
59
}
60

    
61
.node-article { /* Article content node */
62
}
63

    
64
.node-unpublished { /* Unpublished nodes */
65
  /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
66

    
67
  p.unpublished { /* The word "Unpublished" displayed underneath the content. */
68
    @include unpublished-div;
69
  }
70
}
(12-12/21)