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

50 lines
1.0 KiB
CSS
Raw Normal View History

* {
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;
2020-05-27 20:19:33 +00:00
}
.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");
2020-06-03 13:45:22 +00:00
/* background-size: cover; */
2020-05-27 20:19:33 +00:00
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%);
2020-06-03 13:45:22 +00:00
}
2020-06-03 14:57:09 +00:00
2020-06-03 13:45:22 +00:00
#color-for-glass{
font-family: 'Faster One', cursive;
font-size: 1.5em;
text-transform: uppercase;
color: black;
}