--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/css.rst Mon Oct 24 09:59:06 2011 +0300
@@ -0,0 +1,85 @@
+.. -*- coding: utf-8; -*-
+
+======
+ CSS.
+======
+.. contents::
+
+Adding CSS to HTML.
+===================
+
+Include in head tag::
+
+ <html>
+ <head>
+ <link href="path-to.css" rel="stylesheet" type="text/css">
+ </head>
+ ...
+ <html>
+
+or::
+
+ <head>
+ <style type="text/css">
+ h1 {border-width: 1; border: solid; text-align: center}
+ </style>
+ </head>
+
+To change style in specific tag use::
+
+ <b style="color: blue; font-family: ariel">Welcome!</b>
+
+Selectors.
+==========
+
+ tag {}
+ .class {}
+ #id {} для id разрешены символы
+ * {} - любой элемент
+
+ tag tag1 {} - выбор tag1, у которых есть предок tag
+ tag > tag {} - выбор дочернего элемента
+ tag + tag {} - выбор соседних элементов
+ tag ~ tag {} - выбор любого соседа
+
+ [attr] {}
+ [attr="..."] {}
+ [attr~="..."] {} - присутствует слово ... в поле атрибута
+ [attr*="..."] {} - присутствует набор символов ... в поле атрибута
+ [attr^="..."] {} - начинается с ... в поле атрибута
+ [attr$="..."] {} - заканчивается на ... в поле атрибута
+ tag [attr|="..."] {}
+
+ :link - не посещенные ссылки
+ :visited - посещенные ссылки
+ :active - нажатие на левую клавишу мыши на элементе
+ :hover - назначать при наведении
+ :focus - при фокусировке элемента
+ :first-child - первый подэлемент
+ :last-child - последний подэлемент
+
+ :first-line
+ :first-letter - выбрать первую букву (не приминимо к inline элементам)
+ :before{content:"..."}, ставит перед контентом элементов строку xxx (можно
+ использовать счетчики)
+ :after{} - тоже, что и before, только ставит текст после контента тега
+
+Emacs.
+======
+::
+
+ $ sudo apt-get install css-mode
+
+Graphical editor.
+=================
+::
+
+ $ sudo apt-get install cssed
+
+CSS browser support.
+====================
+
+ * http://www.quirksmode.org/css/contents.html
+ * http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28CSS%29
+ * http://www.css3.info/modules/selector-compat/
+
--- a/devel-scm.rst Fri Oct 21 15:54:37 2011 +0300
+++ b/devel-scm.rst Mon Oct 24 09:59:06 2011 +0300
@@ -66,13 +66,21 @@
---------
How danger is bug or issue. For example it may be crash, corruption (of user
-data), misspelling.
+data), or misspelling.
+
+Possible values::
+
+ blocker critical major minor trivial
Priority.
---------
How important is to fix bug. What bugs are first to fix.
+Possible values::
+
+ highest high normal low lowest
+
Resolution.
-----------
--- a/html.rst Fri Oct 21 15:54:37 2011 +0300
+++ b/html.rst Mon Oct 24 09:59:06 2011 +0300
@@ -29,3 +29,9 @@
<p style="text-align: center;">TEXT</p>
+Browser support.
+================
+
+ * http://htmlbook.ru/
+ * http://www.quirksmode.org/
+
--- a/windows.rst Fri Oct 21 15:54:37 2011 +0300
+++ b/windows.rst Mon Oct 24 09:59:06 2011 +0300
@@ -434,7 +434,7 @@
Recursively change the owner of all matching files to the specified user::
- cmd> icacls /setowner %user% /t /c
+ cmd> icacls %dir% /setowner %user% /t /c
Recursively grand full access for everyone::