You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
74 lines
1.3 KiB
74 lines
1.3 KiB
.block-ships{ |
|
position: relative; |
|
width: 50%; |
|
display:flex; |
|
flex-direction: column; |
|
color: white; |
|
font-size:large; |
|
text-align: center; |
|
margin: auto; |
|
margin-top: 100px; |
|
} |
|
button{ |
|
color: white; |
|
font-family: 'M42'; |
|
background-color: black; |
|
font-size:x-small; |
|
box-shadow: 3px 2px white; |
|
border: 4px solid white; |
|
border-radius: 10px; |
|
padding: 10px; |
|
padding-left: 15px; |
|
padding-right: 15px; |
|
} |
|
button:hover{ |
|
background-color:aqua ; |
|
transition: 1s; |
|
} |
|
|
|
|
|
.ships-modal{ |
|
|
|
font-size:small; |
|
background-image: url("/assets/spaceships/blueprint.png"); |
|
background-repeat: no-repeat; |
|
background-size: contain; |
|
} |
|
|
|
.ships-list { |
|
display: none; |
|
} |
|
|
|
/* Next & previous buttons */ |
|
.prev, .next { |
|
cursor: pointer; |
|
position: absolute; |
|
top: 50%; |
|
width: auto; |
|
margin-top: -22px; |
|
padding: 16px; |
|
color: white; |
|
font-weight: bold; |
|
font-size: 60px; |
|
transition: 0.6s ease; |
|
border-radius: 0 3px 3px 0; |
|
user-select: none; |
|
} |
|
|
|
.imgShip { |
|
left: 0; |
|
width: 50%; |
|
} |
|
.ships-list h5 { |
|
font-size:xx-large; |
|
} |
|
/* Position the "next button" to the right */ |
|
.next { |
|
right: 0; |
|
border-radius: 3px 0 0 3px; |
|
} |
|
|
|
/* On hover, add a black background color with a little bit see-through */ |
|
.prev:hover, .next:hover { |
|
background-color: rgba(0,0,0,0.8); |
|
} |