node.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * @file
  3. * Visual styles for Bartik's node component.
  4. */
  5. .node__content {
  6. font-size: 1.071em;
  7. margin-top: 10px;
  8. }
  9. /* View mode teaser styles. */
  10. .node--view-mode-teaser {
  11. border-bottom: 1px solid #d3d7d9;
  12. margin-bottom: 30px;
  13. padding-bottom: 15px;
  14. }
  15. .node--view-mode-teaser h2 {
  16. margin-top: 0;
  17. padding-top: 0.5em;
  18. }
  19. .node--view-mode-teaser h2 a {
  20. color: #181818;
  21. }
  22. .node--view-mode-teaser.node--sticky {
  23. background: #f9f9f9;
  24. background: rgba(0, 0, 0, 0.024);
  25. border: 1px solid #d3d7d9;
  26. padding: 0 15px 15px;
  27. }
  28. .node--view-mode-teaser .node__content {
  29. clear: none;
  30. font-size: 1em;
  31. line-height: 1.6;
  32. }
  33. /* Node metadata styles. */
  34. .node__meta {
  35. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  36. font-size: 0.857em;
  37. color: #68696b;
  38. margin-bottom: -5px;
  39. }
  40. .node__meta .field--name-user-picture img {
  41. float: left; /* LTR */
  42. margin: 1px 20px 0 0; /* LTR */
  43. }
  44. [dir="rtl"] .node__meta .field--name-user-picture img {
  45. float: right;
  46. margin-left: 20px;
  47. margin-right: 0;
  48. }
  49. /* Node links styles. */
  50. .node__links {
  51. text-align: right; /* LTR */
  52. font-size: 0.93em;
  53. }
  54. [dir="rtl"] .node__links {
  55. text-align: left;
  56. }
  57. /* Unpublished node styles. */
  58. .node--unpublished {
  59. padding: 20px 15px 0;
  60. }
  61. .node--unpublished .comment-text .comment-arrow {
  62. border-left: 1px solid #fff4f4;
  63. border-right: 1px solid #fff4f4;
  64. }