diff --git a/front/docs/CSS.md b/front/docs/CSS.md index 0901aeb..031f779 100644 --- a/front/docs/CSS.md +++ b/front/docs/CSS.md @@ -1,5 +1,13 @@ # CSS +In this document we take a look at what CSS is and how it can be applied to a publication in **Chatty-pub**. + +- [What is CSS](#css) +- [Rules](#rules) +- [Css in chatty-pub](#chatty-pub) +- [Print settings](#print-settings) +- [Typing Emoji](#emoji) + ## What is CSS? CSS (Cascading Style Sheets) is the language that allows you to style and layout HTML web pages. This article explains what CSS is, with some simple syntax examples, and also covers some key terms about the language. @@ -12,7 +20,7 @@ But what HTML does not do is speficy how these elements should look. That is whe CSS can be used for very basic document text styling — for example changing the color and size of headings and links. It can be used to create layout — for example turning a single column of text into a layout with a main content area and a sidebar for related information. It can even be used for effects such as animation. In Chatty-pub we're mostly interested in the first part. -### Rules +## Rules #### _Elements and Classes_ @@ -22,10 +30,10 @@ CSS is a rule-based language — you define rules specifying groups of styles th The following code shows a very simple CSS rule that would achieve the styling described above: -```lang-css +```css h1 { - color: red; - font-size: 5em; + color: red; + font-size: 20px; } ``` @@ -39,7 +47,7 @@ The example above will style all the `H1` elements on the page. You could also w Take this HTML: -```lang=html +```html