Suppression de la marge, ajout des bordures arrondies ainsi que la délicate petite fleche de la velvelyne
This commit is contained in:
+35
-1
@@ -544,7 +544,6 @@ main{
|
||||
margin-bottom: 7.77px;
|
||||
}
|
||||
|
||||
|
||||
article{
|
||||
h4{
|
||||
padding: 16.1px;
|
||||
@@ -590,6 +589,9 @@ main{
|
||||
margin-top: 7.77px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 7.77px;
|
||||
margin-left: 16.1px;
|
||||
margin-right: 16.1px;
|
||||
width: calc(100% - 32.2px);
|
||||
|
||||
details{
|
||||
cursor: default;
|
||||
@@ -597,6 +599,38 @@ main{
|
||||
|
||||
}
|
||||
|
||||
article:first-of-type,
|
||||
article.solidBox:first-of-type:has(details[open]),
|
||||
article:has(details[open]) + article {
|
||||
margin-top: 0;
|
||||
border-top-left-radius: 16.1px;
|
||||
border-top-right-radius: 16.1px;
|
||||
}
|
||||
|
||||
article:last-of-type,
|
||||
article.solidBox:last-of-type:has(details[open]),
|
||||
article:has( + article details[open]) {
|
||||
margin-bottom: 0;
|
||||
border-bottom-left-radius: 16.1px;
|
||||
border-bottom-right-radius: 16.1px;
|
||||
}
|
||||
|
||||
article details summary::before {
|
||||
content: "→";
|
||||
font-size: 2em;
|
||||
flex: 0;
|
||||
flex-shrink: 0;
|
||||
transition: ease-out 0.3s transform;
|
||||
}
|
||||
|
||||
article details[open] summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
article details summary h4 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.iconBtnStyle{
|
||||
width: 33px;
|
||||
height: 33px;
|
||||
|
||||
Reference in New Issue
Block a user