Cocktail-DB/static-storage/css/style.css

67 lines
1.3 KiB
CSS

* {
box-sizing: border-box;
}
body{
background-color: black;
}
.text_on_image{
color:white;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-transform: uppercase;
font-size: 2.5em;
font-family: 'Faster One', cursive;
}
a
{
color: inherit;
text-decoration: none!important;
}
a:hover{
color: inherit;
}
.contained-img-bar{
width: 100%;
height: 300px;
border-radius: 5px;
/* border: 1px solid grey; */
background-image: url("https://img.freepik.com/foto-gratuito/selezione-di-vari-cocktail-sul-tavolo_140725-2909.jpg?size=626&ext=jpg");
/* background-size: cover; */
background-position: center;
position: relative;
border: 3px solid white;
}
.text-contained-img-bar{
color: white;
text-transform: uppercase;
text-align: center;
position: absolute;
font-size: 1.5em;
border: 5px solid white;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Orbitron', sans-serif;
}
#color-for-glass{
font-family: 'Faster One', cursive;
font-size: 1.5em;
text-transform: uppercase;
color: black;
}
.img-fluid {
width: 100%;
}
@media screen and (max-width:600px){
h1 {
font-size: 1.5rem!important;
}
}