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

62 lines
1.2 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;
2020-06-11 16:50:52 +00:00
/* border: 1px solid grey; */
2020-05-27 20:19:33 +00:00
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-10 14:55:29 +00:00
font-family: 'Orbitron', sans-serif;
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;
2020-06-04 14:20:28 +00:00
}
.img-fluid {
width: 100%;
}
2020-06-10 14:55:29 +00:00
2020-06-04 14:20:28 +00:00
@media screen and (max-width:600px){
h1 {
font-size: 1.5rem!important;
}
}