46 lines
630 B
CSS
46 lines
630 B
CSS
/*
|
|
Nicola Clark
|
|
06APR25
|
|
|
|
Adapted from https://javascript30.com - Sorting band names without articles
|
|
*/
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
background-color: seagreen;
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
#bands {
|
|
list-style: inside square;
|
|
font-size: 20px;
|
|
background: white;
|
|
width: 500px;
|
|
margin: auto;
|
|
padding: 0;
|
|
box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
#bands li {
|
|
border-bottom: 1px solid #efefef;
|
|
padding: 20px;
|
|
}
|
|
|
|
#bands li:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
a {
|
|
color: #ffc600;
|
|
text-decoration: none;
|
|
}
|