#27 CSS class defined by page root added to body element
Opened 3 years ago by kaylee20. Modified 3 years ago
fedora-docs/ kaylee20/fedora-docs-ui master  into  master

file modified
+2 -1
@@ -43,7 +43,8 @@ 

  

  .doc h3 {

    font-family: "Open sans", Helvetica, Arial;

-   font-size: 24px;

+   font-weight: 500;

+   

  }

  

  .doc h1 > a.anchor,

file modified
+1 -1
@@ -21,7 +21,7 @@ 

    {{> head}}

  </head>

  

- <body class="article">

+   <body class="article{{#with (or page.attributes.role page.role)}} {{this}}{{/with}}">

    {{> header}}

    <div class="main-wrapper">

  

  • The page role may be used for toggling certain items in the layout or to activate additional styles.
  • It is placed inside the body, so that special styles will not be applied to the header.

Signed off by Oyelakin Mercy oyelakinmercy68@gmail.com

1 new commit added

  • Style links added in footer
3 years ago

rebased onto f2839ba6dac6af2ac017f1d33479de7fae693033

3 years ago

rebased onto ce57743

3 years ago

1 new commit added

  • Update src/css/doc.css
3 years ago