forked from buckwheat/sekaineo
sekaineo: Added starting HTML and CSS
This commit is contained in:
57
assets/style.css
Normal file
57
assets/style.css
Normal file
@ -0,0 +1,57 @@
|
||||
body
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html
|
||||
{
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
.navbar ul
|
||||
{
|
||||
background-color: cyan;
|
||||
display: flex;
|
||||
list-style-type: none;
|
||||
justify-content: center;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navbar ul li
|
||||
{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.navbar ul li a
|
||||
{
|
||||
color: black;
|
||||
display: block;
|
||||
padding: 14px 16px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar ul li a:hover
|
||||
{
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
.text-block
|
||||
{
|
||||
border: 2px solid blue;
|
||||
color: white;
|
||||
justify-content: center;
|
||||
margin-bottom: 5%;
|
||||
margin-left: 25%;
|
||||
margin-right: 25%;
|
||||
margin-top: 5%;
|
||||
padding: 10px 15px;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user