css/style

This commit is contained in:
Marc Beninca 2025-01-26 15:52:36 +01:00
parent e6ff87e4f6
commit 499e8023aa
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
5 changed files with 43 additions and 13 deletions

View file

@ -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>

View file

@ -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

View file

@ -0,0 +1,5 @@
* {
border-color: magenta;
border-style: solid;
border-width: 1px;
}

View file

@ -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;

View file

@ -0,0 +1,7 @@
* {
box-sizing: border-box;
/*
margin: 2px;
padding: 2px;
/**/
}