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

50 lines
1.0 KiB
CSS

* {
box-sizing: border-box;
}
.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;
}
.text-contained-img-bar{
color: white;
text-transform: uppercase;
text-align: center;
position: absolute;
font-size: 1.5em;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#color-for-glass{
font-family: 'Faster One', cursive;
font-size: 1.5em;
text-transform: uppercase;
color: black;
}