diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/index.html | 1 | ||||
-rw-r--r-- | public/main.css | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html index 2cb9f22..3775afa 100644 --- a/public/index.html +++ b/public/index.html @@ -2,5 +2,6 @@ <html lang="fr"> <meta charset="utf-8"> <title>Rx</title> +<link rel="stylesheet" href="main.css"> <body></body> <script src="example.js"></script> diff --git a/public/main.css b/public/main.css new file mode 100644 index 0000000..8a0da32 --- /dev/null +++ b/public/main.css @@ -0,0 +1,41 @@ +body { + margin: 0; + font-family: sans-serif; +} + +header { + padding: 1rem; + background-color: #333; + color: white; +} + +h1 { + margin: 0; +} + +nav button { + margin-bottom: 0.5rem; + padding: 0.5rem; + width: 100%; + cursor: pointer; + border: none; + font-size: 1rem; +} + +nav button.selected { + background-color: #833; + color: white; +} + +main { + display: flex; +} + +ul { + list-style-type: none; + padding: 0 1rem; +} + +section { + margin: 1rem; +} |