--- a/css.rst Sat Feb 10 01:28:53 2018 +0200
+++ b/css.rst Sat Feb 10 01:30:24 2018 +0200
@@ -28,7 +28,7 @@
Default style for HTML elements
===============================
- * http://www.w3.org/TR/CSS2/sample.html
+* http://www.w3.org/TR/CSS2/sample.html
Adding CSS to HTML
==================
@@ -126,9 +126,9 @@
See:
- * https://www.w3.org/TR/CSS2/selector.html
- * https://www.w3.org/TR/css3-selectors/#selectors
- * https://www.w3.org/TR/CSS/#selectors
+* https://www.w3.org/TR/CSS2/selector.html
+* https://www.w3.org/TR/css3-selectors/#selectors
+* https://www.w3.org/TR/CSS/#selectors
CSS import statement
====================
@@ -146,7 +146,7 @@
@import url("narrow.css") handheld and (max-width: 400px);
https://www.w3.org/TR/css-cascade-3/#at-import
- Importing Style Sheets: the @import rule.
+ Importing Style Sheets: the @import rule.
Including font
==============
@@ -182,70 +182,70 @@
Possible predicates:
- ``(min-width: VAL)``
- Rules applied for any browser width over the value defined in the query.
- ``(max-width: VAL)``
- Rules applied for any browser width below the value defined in the query.
- ``(min-height: VAL)``
- Rules applied for any browser height over the value defined in the query.
- ``(max-height: VAL)``
- Rules applied for any browser height below the value defined in the query.
- ``(orientation=portrait)``
- Rules applied for any browser where the height is greater than or equal to the width.
- ``(orientation=landscape)``
- Rules for any browser where the width is greater than the height.
+``(min-width: VAL)``
+ Rules applied for any browser width over the value defined in the query.
+``(max-width: VAL)``
+ Rules applied for any browser width below the value defined in the query.
+``(min-height: VAL)``
+ Rules applied for any browser height over the value defined in the query.
+``(max-height: VAL)``
+ Rules applied for any browser height below the value defined in the query.
+``(orientation=portrait)``
+ Rules applied for any browser where the height is greater than or equal to the width.
+``(orientation=landscape)``
+ Rules for any browser where the width is greater than the height.
See:
- https://developers.google.com/web/fundamentals/design-and-ui/responsive/fundamentals/use-media-queries
- Use CSS media queries for responsiveness
+https://developers.google.com/web/fundamentals/design-and-ui/responsive/fundamentals/use-media-queries
+ Use CSS media queries for responsiveness
Viewport
========
Specs:
- https://www.w3.org/TR/css-device-adapt/
- Unpublished: CSS Device Adaptation Module Level 1
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
- ``viewport`` attribute in ``meta`` tag.
- https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
- Firefox mobile support for viewport.
- https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html
- Original viewport specs.
+https://www.w3.org/TR/css-device-adapt/
+ Unpublished: CSS Device Adaptation Module Level 1
+https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
+ ``viewport`` attribute in ``meta`` tag.
+https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag
+ Firefox mobile support for viewport.
+https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html
+ Original viewport specs.
Compatibility:
- http://www.quirksmode.org/mobile/tableViewport.html
- Compatibility table.
- http://viewportsizes.com/
- Device table with viewport width.
+http://www.quirksmode.org/mobile/tableViewport.html
+ Compatibility table.
+http://viewportsizes.com/
+ Device table with viewport width.
Articles:
- http://www.quirksmode.org/mobile/viewports.html
- How viewports and the widths of various important elements work, such as the
- ``<html>`` element, as well as the window and the screen.
- http://www.quirksmode.org/mobile/viewports2.html
- How viewports and the widths of various important elements work, such as the
- ``<html>`` element, as well as the window and the screen.
+http://www.quirksmode.org/mobile/viewports.html
+ How viewports and the widths of various important elements work, such as the
+ ``<html>`` element, as well as the window and the screen.
+http://www.quirksmode.org/mobile/viewports2.html
+ How viewports and the widths of various important elements work, such as the
+ ``<html>`` element, as well as the window and the screen.
CSS compilers
=============
- http://lesscss.org/
- LESS extends CSS with dynamic behavior such as variables,
- mixins, operations and functions.
- http://sass-lang.com/
- Sass is the most mature, stable, and powerful professional grade
- CSS extension language in the world.
+http://lesscss.org/
+ LESS extends CSS with dynamic behavior such as variables,
+ mixins, operations and functions.
+http://sass-lang.com/
+ Sass is the most mature, stable, and powerful professional grade
+ CSS extension language in the world.
CSS browser support
===================
- * http://www.quirksmode.org/css/contents.html
- * http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28CSS%29
- * https://www.css3.info/modules/selector-compat/
+* http://www.quirksmode.org/css/contents.html
+* http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28CSS%29
+* https://www.css3.info/modules/selector-compat/
Editor support
==============