diff options
author | j-james | 2022-12-22 01:36:49 +0000 |
---|---|---|
committer | j-james | 2022-12-22 01:36:49 +0000 |
commit | 0e693fd4814572712a4192cb4f176e71f7a344f7 (patch) | |
tree | 9fb7daba882a025d368775aed9d518f565a40db2 /data/example.html | |
parent | 35741efd699e67382367411fcb991e2366a6774f (diff) |
Implement the basics of a recursive layout renderer
Diffstat (limited to 'data/example.html')
-rw-r--r-- | data/example.html | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/data/example.html b/data/example.html index b62fc42..8eff336 100644 --- a/data/example.html +++ b/data/example.html @@ -6,33 +6,6 @@ <meta charset="utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> - <style type="text/css"> - body { - background-color: #f0f0f2; - margin: 0; - padding: 0; - font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - - } - div { - width: 600px; - margin: 5em auto; - padding: 2em; - background-color: #fdfdff; - border-radius: 0.5em; - box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02); - } - a:link, a:visited { - color: #38488f; - text-decoration: none; - } - @media (max-width: 700px) { - div { - margin: 0 auto; - width: auto; - } - } - </style> </head> <body> @@ -44,3 +17,30 @@ </div> </body> </html> +<style type="text/css"> +body { + background-color: #f0f0f2; + margin: 0; + padding: 0; + font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + +} +div { + width: 600px; + margin: 5em auto; + padding: 2em; + background-color: #fdfdff; + border-radius: 0.5em; + box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02); +} +a:link, a:visited { + color: #38488f; + text-decoration: none; +} +@media (max-width: 700px) { + div { + margin: 0 auto; + width: auto; + } +} +</style> |