static/index.css (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
/* style.css */
/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Centering and box styling */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f5f5f5;
font-family: Arial, sans-serif;
color: #333;
line-height: 1.6;
}
article {
max-width: 35em;
width: 90%;
padding: 1em;
border: 2px solid #333;
background-color: #fff;
text-align: center;
}
h1 {
font-size: 2em;
margin-bottom: 0.5em;
}
h2 {
font-size: 1.5em;
margin-top: 1em;
margin-bottom: 0.5em;
}
p {
margin-bottom: 1em;
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin: 1em 0;
}
a {
color: #0077cc;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
|