css/style
This commit is contained in:
parent
e6ff87e4f6
commit
499e8023aa
5 changed files with 43 additions and 13 deletions
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="index.css">
|
<link rel="stylesheet" href="style/main.css">
|
||||||
<title>Title.</title>
|
<title>Title.</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,32 @@
|
||||||
html
|
html
|
||||||
****
|
****
|
||||||
|
|
||||||
|
HTML
|
||||||
|
====
|
||||||
|
|
||||||
|
Index
|
||||||
|
-----
|
||||||
|
|
||||||
.. literalinclude:: index.html
|
.. literalinclude:: index.html
|
||||||
:language: html
|
:language: html
|
||||||
|
|
||||||
.. literalinclude:: index.css
|
CSS
|
||||||
|
===
|
||||||
|
|
||||||
|
Debug
|
||||||
|
-----
|
||||||
|
|
||||||
|
.. literalinclude:: style/debug.css
|
||||||
|
:language: css
|
||||||
|
|
||||||
|
Reset
|
||||||
|
-----
|
||||||
|
|
||||||
|
.. literalinclude:: style/reset.css
|
||||||
|
:language: css
|
||||||
|
|
||||||
|
Main
|
||||||
|
----
|
||||||
|
|
||||||
|
.. literalinclude:: style/main.css
|
||||||
:language: css
|
:language: css
|
||||||
|
|
5
rtfd/public/html/style/debug.css
Normal file
5
rtfd/public/html/style/debug.css
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
* {
|
||||||
|
border-color: magenta;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
|
@ -6,23 +6,17 @@ inline-size ← width
|
||||||
margin-block ← vspace
|
margin-block ← vspace
|
||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
/**/
|
||||||
/*
|
@import "debug.css";
|
||||||
margin: 2px;
|
/**/
|
||||||
padding: 2px;
|
@import "reset.css";
|
||||||
*/
|
|
||||||
border-color: magenta;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
background-image: url("images/logo.svg");
|
background-image: url("../images/logo.svg");
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: #777;
|
color: #777;
|
7
rtfd/public/html/style/reset.css
Normal file
7
rtfd/public/html/style/reset.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
/*
|
||||||
|
margin: 2px;
|
||||||
|
padding: 2px;
|
||||||
|
/**/
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue