mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 09:11:28 +02:00
use style.css for new installs, refactor new install to use store_file
This commit is contained in:
parent
42e21bce9a
commit
53d25cba1d
6 changed files with 39 additions and 23 deletions
|
@ -3,16 +3,12 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>The web site of <%= username %></title>
|
||||
<style type="text/css">
|
||||
/* This is a CSS comment. CSS is how you can add style to your website, such as colors, fonts,
|
||||
and positioning of your HTML content. */
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
color: black;
|
||||
font-family: Verdana;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- The style.css file allows you to change the look of your web pages.
|
||||
If you include the next line in all your web pages, they will all share the same look.
|
||||
This makes it easier to make new pages for your site. -->
|
||||
|
||||
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to my Website!</h1>
|
||||
|
@ -22,7 +18,7 @@
|
|||
<p>Here's how you can make <strong>bold</strong> and <em>italic</em> text.</p>
|
||||
|
||||
<p>Here's how you can add an image:</p>
|
||||
<img src="cat.png">
|
||||
<img src="/cat.png">
|
||||
|
||||
<p>Here's how to make a list:</p>
|
||||
|
||||
|
|
|
@ -3,11 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Not Found</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: Verdana;
|
||||
}
|
||||
</style>
|
||||
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Page Not Found</h1>
|
||||
|
|
5
views/templates/style.css
Normal file
5
views/templates/style.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
body {
|
||||
background-color: white;
|
||||
color: black;
|
||||
font-family: Verdana;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue