ScoDoc/app/static/css/ref-competences.css

93 lines
1.4 KiB
CSS
Raw Normal View History

:host{
font-family: Verdana;
background: #222;
display: block;
padding: 12px 32px;
color: #FFF;
max-width: 1000px;
margin: auto;
}
2022-01-15 15:09:16 +01:00
h1{
font-weight: 100;
}
/**********************/
/* Zone parcours */
/**********************/
.parcours{
display: flex;
gap: 4px;
2022-01-17 00:41:57 +01:00
padding-right: 4px;
}
.parcours>div{
background: #09c;
font-size: 18px;
text-align: center;
border-radius: 4px;
padding: 8px 16px;
cursor: pointer;
flex: 1;
transition: 0.1s;
opacity: 0.7;
}
.parcours>div:hover,
.competence>div:hover{
color: #ccc;
}
.parcours>.focus{
opacity: 1;
}
/**********************/
/* Zone compétences */
/**********************/
.competences{
2022-01-17 00:41:57 +01:00
display: grid;
2022-01-15 15:09:16 +01:00
margin-top: 8px;
2022-01-17 00:41:57 +01:00
row-gap: 4px;
}
2022-01-15 15:09:16 +01:00
.competences>div{
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
2022-01-17 00:41:57 +01:00
width: var(--competence-size);
margin-right: 4px;
}
2022-01-15 15:09:16 +01:00
.comp1{background:#a44}
.comp2{background:#84a}
.comp3{background:#a84}
.comp4{background:#8a4}
.comp5{background:#4a8}
.comp6{background:#48a}
2022-01-15 15:09:16 +01:00
.competences>.focus{
outline: 2px solid;
}
/**********************/
/* Zone AC */
/**********************/
h2{
display: table;
padding: 8px 16px;
font-size: 20px;
border-radius: 16px 0;
}
2022-01-17 00:41:57 +01:00
.ACs{
padding-right: 4px;
}
.AC li{
display: grid;
grid-template-columns: auto 1fr;
align-items: start;
gap: 4px;
margin-bottom: 4px;
border-bottom: 1px solid;
}
.AC li>div:nth-child(1){
padding: 2px 4px;
border-radius: 4px;
}
.AC li>div:nth-child(2){
padding-bottom: 2px;
}