mandalorian/styles/style.css

118 lines
2.2 KiB
CSS
Raw Normal View History

2021-10-18 13:58:21 +00:00
@font-face {
font-family: 'star-wars';
src: url("../assets/fonts/Starjedi.ttf");
}
2021-10-18 13:24:38 +00:00
*{
margin: 0;
padding: 0;
2021-10-18 13:58:21 +00:00
font-family: 'star-wars', serif;
2021-10-19 15:47:47 +00:00
color : #000;
2021-10-18 13:58:21 +00:00
}
.titre a{
margin-top : 20px;
background-color: transparent;
width: 25%;
content: url("../assets/imgs/titre.png");
font-size: xx-large;
text-decoration: underline;
text-decoration-color: #ffe81f;
2021-10-18 13:58:21 +00:00
}
.ul-menu{
list-style-type: none;
font-size: large;
2021-10-19 15:47:47 +00:00
color : #FFF;
text-decoration: underline;
text-decoration-color: #ffe81f;
2021-10-18 13:58:21 +00:00
}
.ul-menu li{
display: inline;
2021-10-19 15:47:47 +00:00
color : #FFF;
2021-10-18 13:58:21 +00:00
float: left;
margin: 1em;
font-size: large;
text-decoration: underline;
text-decoration-color: #ffe81f;
2021-10-18 13:58:21 +00:00
}
.ul-menu li a{
display: block;
2021-10-19 15:47:47 +00:00
color : #FFF;
2021-10-18 13:58:21 +00:00
padding: 5px;
text-align: center;
font-size: large;
text-decoration: underline;
text-decoration-color: #ffe81f;
2021-10-18 14:58:56 +00:00
}
2021-10-19 07:22:36 +00:00
body{
background-image: url("../assets/imgs/starry_sky.jpg");
2021-10-19 07:22:36 +00:00
}
div.image-films {
background-color: transparent;
margin-top: -170px;
margin-left: auto;
width: 30%;
content: url("../assets/imgs/mando.png");
2021-10-18 14:58:56 +00:00
}
2021-10-19 15:17:14 +00:00
div.image-charactere {
background-color: transparent;
margin-top: -170px;
margin-left: auto;
width: 30%;
content: url("../assets/imgs/grogu.png");
}
#reponses-films {
color : #FFF;
float: left;
margin-top : 200px;
margin-left:-350px;
}
2021-10-19 15:47:47 +00:00
.accordeon {
color : #000;
float: left;
2021-10-19 15:47:47 +00:00
margin-top : 100px;
margin-left: -350px;
}
2021-10-19 15:47:47 +00:00
.accordeon_item{
background-color:#ffff;
margin:2rem 0;
border-radius: 1rem;
box-shadow: 1px 1px 30px rgb(196, 196, 196) ;
padding-top: 5px;
}
2021-10-19 15:47:47 +00:00
.accordeon_item_header{
padding: 0.5rem 1rem 0.5rem 1rem;
min-height: 3.5rem;
line-height: 1.25rem;
display: flex;
align-items: center;
position: relative;
cursor: pointer;
}
2021-10-19 15:47:47 +00:00
.accordeon_item_body{
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
.accordeon_item_body_content{
color : #000;
padding: 1.5rem;
line-height: 1.5rem;
}
.accordeon_item_header.active + .accordeon_item_body{
max-height: 200px;
}