RadioGarage/user/themes/radiogarage/css/phone.css
2026-01-16 11:20:02 +01:00

466 lines
11 KiB
CSS

:root {
--main-color: black ;
--alternative-color: white ;
--interactive-color: grey;
}
a{
color: var(--main-color);
text-decoration: underline;
cursor: pointer;
}
a:hover{
background-color: var(--main-color);
color: var(--alternative-color);
}
body{
font-family: "covik-sans-mono", sans-serif;
font-weight: 500;
font-style: normal;
}
#logoandcredits{
height: fit-content; width: 100%;
position: relative; bottom: auto;
margin-top: 25vh; margin-bottom: 3vh;
display: flex; justify-content: space-between;
align-items: end;
}
#logo{
width: auto; height: 20vh;
}
#credits{
width: fit-content;
display: flex; justify-content: space-between;
align-items: center;
}
#logoandcredits p{
width: 70vw;
line-height: 2.5vh;
}
#logoandcredits p a{
color: var(--main-color);
}
#logoandcredits p a:hover{
color: var(--alternative-color);
}
/*
$$\ $$\ $$\ $$\ $$$$$$$\ $$\
$$ | $$ | $$ | $$ | $$ __$$\ $$ |
$$ | $$ | $$$$$$\ $$$$$$\ $$$$$$$ | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$$ | $$ | $$ |$$ | $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$\
$$$$$$$$ |$$ __$$\ \____$$\ $$ __$$ |$$ __$$\ $$ __$$\ \____$$\ $$ __$$\ $$ __$$ | $$$$$$$ |$$ | \____$$\ $$ | $$ |$$ __$$\ $$ __$$\
$$ __$$ |$$$$$$$$ | $$$$$$$ |$$ / $$ |$$$$$$$$ |$$ | \__| $$$$$$$ |$$ | $$ |$$ / $$ | $$ ____/ $$ | $$$$$$$ |$$ | $$ |$$$$$$$$ |$$ | \__|
$$ | $$ |$$ ____|$$ __$$ |$$ | $$ |$$ ____|$$ | $$ __$$ |$$ | $$ |$$ | $$ | $$ | $$ |$$ __$$ |$$ | $$ |$$ ____|$$ |
$$ | $$ |\$$$$$$$\ \$$$$$$$ |\$$$$$$$ |\$$$$$$$\ $$ | \$$$$$$$ |$$ | $$ |\$$$$$$$ | $$ | $$ |\$$$$$$$ |\$$$$$$$ |\$$$$$$$\ $$ |
\__| \__| \_______| \_______| \_______| \_______|\__| \_______|\__| \__| \_______| \__| \__| \_______| \____$$ | \_______|\__|
$$\ $$ |
\$$$$$$ |
\______/
*/
#header{
width: 100vw; height: fit-content;
position: fixed; top: 0vh;
padding-top: 2vh; padding-left: 4vw; padding-right: 4vw; padding-bottom: 0.5vh;
box-sizing: border-box;
display: flex; justify-content: space-between;
z-index: 100;
background-color: var(--alternative-color);
}
#name{
width: 32vw; height: fit-content;
margin-right: 1vw;
}
.nav-home {
background-color: transparent; border: none; margin-left: -0.5vw; margin-top: -0.1vh; padding: none;
box-sizing: border-box;
align-items: center; text-align: left;
width: 100%; height: 100%;
font-family: "covik-sans-mono", sans-serif;
font-weight: 500;
font-style: normal;
cursor: pointer;
font-size: 4vw;
}
#navigation{
display: flex;
}
#archives-button, #apropos-button{
width: 22vw; height: 2vh;
}
#archives-button{
margin-right: 0.5vw;
}
.nav-btn {
background-color: transparent; border: none; margin-left: -0.4vw; margin-top: -0.1vh; padding: none;
box-sizing: border-box;
align-items: center; text-align: left;
width: 100%; height: 100%;
font-family: "covik-sans-mono", sans-serif;
font-weight: 500;
font-style: normal;
cursor: pointer;
font-size: 4vw;
}
#archives-button.active, #apropos-button.active {
background-color: var(--main-color);
}
#archives-button.active button, #apropos-button.active button{
color: var(--alternative-color);
}
#apropos{
text-align: right; margin-right: 0vw;
}
#player{
width: 92vw; height: fit-content; margin-right: 0vw;
position: fixed; top: 5vh; left: 4vw;
font-size: 3.7vw;
z-index: 100;
border: 0.2vh solid var(--main-color);
box-sizing: border-box;
}
#info-player{
width: 100%; height: 3vh;
display: flex;
background-color: var(--main-color);
color: var(--alternative-color);
align-items: center;
justify-content: center;
}
#info-player #second-title{
width: 95%;
}
#info-player #title{
width: 57%;
display: none;
}
#info-player .controls {
width: 5%; height: 3vh;
display: flex;
justify-content: center;
align-items: center;
}
.play-btn {
height: fit-content;
border: none;
background-color: var(--main-color);
color: var(--alternative-color);
font-family: "covik-sans-mono", sans-serif;
font-weight: 500;
font-style: normal;
cursor: pointer;
font-size: 4vw;
}
.play-btn:hover {
color: var(--interactive-color);
}
.seek-container {
position: relative;
width: 100%; height: 3vh;
background-color: var(--alternative-color);
}
#seekSlider {
-webkit-appearance: none;
width: 75vw;
height: fit-content;
background: transparent;
z-index: 2;
position: relative;
cursor: pointer;
}
#seekSlider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 75vw;
height: fit-content;
background: transparent;
margin-top: -4px;
position: relative;
z-index: 3;
}
.progress-overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: var(--interactive-color);
border-right: 0.2vw solid var(--main-color);
z-index: 1;
pointer-events: none; /* important pour que l'utilisateur puisse cliquer sur le slider */
}
#home-box, #apropos-box, #archives-box{
width: 100vw; height: fit-content;
position: absolute; top: 15vh;
padding-left: 4vw; padding-right: 4vw;
box-sizing: border-box;
font-size: 4vw;
z-index: 10;
}
#home-box h2{
width: 60vw; height: 2vh;
background-color: var(--main-color);
color: var(--alternative-color);
}
#image-text{
width: fit-content; height: 80vh;
display: flex;
}
#image-legende{
width: 7.5vw; height: 100%;
margin-right: 0.5vw;
display: none;
}
#image-legende img{
width: 100%;
}
#text-new{
width: 100%; height: fit-content;
padding-bottom: 0.5vh;
box-sizing: border-box;
background-color: var(--main-color);
color: var(--alternative-color);
font-family: "covik-sans-mono", sans-serif;
font-weight: 400;
font-style: normal;
}
#info-apropos{
height: fit-content;
padding-bottom: 0.5vh;
box-sizing: border-box;
display: flex; flex-direction: column;
color: var(--alternative-color);
}
#presentation{
width: 100%; height: fit-content;
margin-bottom: 1vh;
}
#gestionmaintenance{
width: 100%; height: fit-content;
margin-bottom: 1vh;
}
#contact{
width: 100%; height: fit-content;
}
.title-apropos{
width: fit-content;
background-color: var(--main-color);
}
#presentation p, #gestionmaintenance p, #contact p{
line-height: 2.5vh;
background-color: var(--main-color);
}
#contact a{
color: var(--alternative-color);
}
.audio-line{
width: 100%; height: fit-content;
padding-bottom: 0.5vh;
overflow: hidden;
cursor: pointer;
transition: 0.2s ease all;
}
.audio-line:hover .audio-text p{
background-color: var(--main-color);
color: var(--alternative-color);
}
.audio-info{
width: 100%; height: fit-content;
display: flex; justify-content: space-between;
}
.und-audio-info{
display: block;
width: fit-content;
}
.und-audio-info h4{
margin-bottom: 0.5vh;
width: 70vw;
}
#home-box .audio-info .button-box{
height: fit-content; width: 30vw;
text-align: right;
display: none;
}
#home-box .audio-info .listen-button{
all: unset;
width: fit-content; height: fit-content;
}
.audio-line.active .button-box{
background-color: var(--main-color);
color: var(--alternative-color);
}
.audio-text{
width: 100%;
box-sizing: border-box;
display: none;
}
.audio-text img{
width: 7.7vw;
margin-right: 0.5vw;
display: none;
}
.audio-text p{
padding-bottom: 1vh;
}
.audio-line.active .audio-text {
display: block;
background-color: var(--main-color);
color: var(--alternative-color);
}
.audio-line.active .und-audio-info{
background-color: var(--main-color);
color: var(--alternative-color);
}
#archives-box .audio-line.active .und-audio-info{
background-color: var(--main-color);
color: var(--alternative-color);
}
#home-box .und-audio-info .date-desktop{
width: 7vw;
display: block;
}
#home-box .und-audio-info .date-mobile{
width: 70vw;
display: none;
}
#home-box .und-audio-info .hour{
width: 70vw;
}
#home-box .und-audio-info .title{
width: 70vw;
}
#home-box .und-audio-info .autors{
width: 70vw;
}
#home-box .und-audio-info .duration{
width: 70vw;
}
#home-box .und-audio-info .button-box{
width: 70vw;
}
#archives-box .und-audio-info .date-desktop{
width: 7vw;
display: none;
}
#archives-box .und-audio-info .date-mobile{
width: 70vw;
display: block;
}
#archives-box .und-audio-info .second-title{
width: 70vw;
}
#archives-box .und-audio-info .title{
width: 70vw;
}
#archives-box .und-audio-info .autors{
width: 70vw;
}
#archives-box .und-audio-info .duration{
width: 70vw;
}
#archives-box .button-box{
height: fit-content; width: 30vw;
text-align: right;
display: block;
}
#archives-box .audio-info .listen-button{
all: unset;
width: fit-content; height: fit-content;
}