}
/* Inline elements */
-abbr {
- cursor: help;
- text-decoration: underline dotted;
-}
-sub, sup { /* https://gist.github.com/unruthless/413930 */
+strong, .m-text.m-strong { font-weight: bold; }
+em, .m-text.m-em { font-style: italic; }
+s, .m-text.m-s { text-decoration: line-through; }
+sub, sup, .m-text.m-sub, .m-text.m-sup {
+ /* https://gist.github.com/unruthless/413930 */
font-size: 0.75rem;
line-height: 0;
position: relative;
vertical-align: baseline;
}
-sup { top: -0.35rem; }
-sub { bottom: -0.2rem; }
+sup, .m-text.m-sup { top: -0.35rem; }
+sub, .m-text.m-sub { bottom: -0.2rem; }
+abbr {
+ cursor: help;
+ text-decoration: underline dotted;
+}
a {
color: var(--link-color);
}
.m-text.m-big {
font-size: 117%;
}
-.m-text.m-strong {
- font-weight: bold;
-}
-.m-text.m-em {
- font-style: italic;
-}
h1 .m-thin, h2 .m-thin, h3 .m-thin, h4 .m-thin, h5 .m-thin, h6 .m-thin {
font-weight: normal;
}
pre.m-console {
background-color: #000000;
}
-abbr {
- cursor: help;
- text-decoration: underline dotted;
-}
-sub, sup {
+strong, .m-text.m-strong { font-weight: bold; }
+em, .m-text.m-em { font-style: italic; }
+s, .m-text.m-s { text-decoration: line-through; }
+sub, sup, .m-text.m-sub, .m-text.m-sup {
font-size: 0.75rem;
line-height: 0;
position: relative;
vertical-align: baseline;
}
-sup { top: -0.35rem; }
-sub { bottom: -0.2rem; }
+sup, .m-text.m-sup { top: -0.35rem; }
+sub, .m-text.m-sub { bottom: -0.2rem; }
+abbr {
+ cursor: help;
+ text-decoration: underline dotted;
+}
a {
color: #5b9dd9;
}
.m-text.m-big {
font-size: 117%;
}
-.m-text.m-strong {
- font-weight: bold;
-}
-.m-text.m-em {
- font-style: italic;
-}
h1 .m-thin, h2 .m-thin, h3 .m-thin, h4 .m-thin, h5 .m-thin, h6 .m-thin {
font-weight: normal;
}
pre.m-console {
background-color: #000000;
}
-abbr {
- cursor: help;
- text-decoration: underline dotted;
-}
-sub, sup {
+strong, .m-text.m-strong { font-weight: bold; }
+em, .m-text.m-em { font-style: italic; }
+s, .m-text.m-s { text-decoration: line-through; }
+sub, sup, .m-text.m-sub, .m-text.m-sup {
font-size: 0.75rem;
line-height: 0;
position: relative;
vertical-align: baseline;
}
-sup { top: -0.35rem; }
-sub { bottom: -0.2rem; }
+sup, .m-text.m-sup { top: -0.35rem; }
+sub, .m-text.m-sub { bottom: -0.2rem; }
+abbr {
+ cursor: help;
+ text-decoration: underline dotted;
+}
a {
color: #5b9dd9;
}
.m-text.m-big {
font-size: 117%;
}
-.m-text.m-strong {
- font-weight: bold;
-}
-.m-text.m-em {
- font-style: italic;
-}
h1 .m-thin, h2 .m-thin, h3 .m-thin, h4 .m-thin, h5 .m-thin, h6 .m-thin {
font-weight: normal;
}
pre.m-console {
background-color: #000000;
}
-abbr {
- cursor: help;
- text-decoration: underline dotted;
-}
-sub, sup {
+strong, .m-text.m-strong { font-weight: bold; }
+em, .m-text.m-em { font-style: italic; }
+s, .m-text.m-s { text-decoration: line-through; }
+sub, sup, .m-text.m-sub, .m-text.m-sup {
font-size: 0.75rem;
line-height: 0;
position: relative;
vertical-align: baseline;
}
-sup { top: -0.35rem; }
-sub { bottom: -0.2rem; }
+sup, .m-text.m-sup { top: -0.35rem; }
+sub, .m-text.m-sub { bottom: -0.2rem; }
+abbr {
+ cursor: help;
+ text-decoration: underline dotted;
+}
a {
color: #ea7944;
}
.m-text.m-big {
font-size: 117%;
}
-.m-text.m-strong {
- font-weight: bold;
-}
-.m-text.m-em {
- font-style: italic;
-}
h1 .m-thin, h2 .m-thin, h3 .m-thin, h4 .m-thin, h5 .m-thin, h6 .m-thin {
font-weight: normal;
}
pre.m-console {
background-color: #000000;
}
-abbr {
- cursor: help;
- text-decoration: underline dotted;
-}
-sub, sup {
+strong, .m-text.m-strong { font-weight: bold; }
+em, .m-text.m-em { font-style: italic; }
+s, .m-text.m-s { text-decoration: line-through; }
+sub, sup, .m-text.m-sub, .m-text.m-sup {
font-size: 0.75rem;
line-height: 0;
position: relative;
vertical-align: baseline;
}
-sup { top: -0.35rem; }
-sub { bottom: -0.2rem; }
+sup, .m-text.m-sup { top: -0.35rem; }
+sub, .m-text.m-sub { bottom: -0.2rem; }
+abbr {
+ cursor: help;
+ text-decoration: underline dotted;
+}
a {
color: #ea7944;
}
.m-text.m-big {
font-size: 117%;
}
-.m-text.m-strong {
- font-weight: bold;
-}
-.m-text.m-em {
- font-style: italic;
-}
h1 .m-thin, h2 .m-thin, h3 .m-thin, h4 .m-thin, h5 .m-thin, h6 .m-thin {
font-weight: normal;
}
adipiscing elit. Vivamus ultrices a erat eu suscipit. Aliquam pharetra
imperdiet tortor sed vehicula.</p>
-Besides :html:`<strong>` and :html:`<em>` you can use :css:`.m-strong` or
-:css:`.m-em` CSS class together with :css:`.m-text` to achieve the same effect
-without using those particular tags.
-
-.. code-figure::
-
- .. code:: html
-
- <p>Lorem ipsum dolor sit amet; <span class="m-text m-strong">strong text</span>;
- consectetur adipiscing elit. <span class="m-text m-em">Emphasised.</span></p>
-
- .. raw:: html
-
- <p>Lorem ipsum dolor sit amet; <span class="m-text m-strong">strong text</span>;
- consectetur adipiscing elit. <span class="m-text m-em">Emphasised.</span></p>
-
`Button links`_
===============
There is a <a href="#" class="m-flat">hidden</a> link.
</p>
+For cases where you can't use the native HTML tags for emphasis, strong text,
+strikethrough and subscript/superscript, the equivalent is available through
+:css:`.m-em`, :css:`.m-strong`, :css:`.m-s`, :css:`.m-sup` and :css:`.m-sub`
+CSS classes used together with :css:`.m-text`.
+
.. note-info::
The Components page has additional information about