Skip to content

Commit

Permalink
updated css
Browse files Browse the repository at this point in the history
  • Loading branch information
leopoldch committed Feb 24, 2024
1 parent ccc1cb4 commit f5632bb
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 24 deletions.
4 changes: 3 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
<title>dBs</title>
<link rel=”preconnect” href=”https://fonts.googleapis.com”>
<link rel=”preconnect” href=”https://fonts.gstatic.com” crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Robotto">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Robotto">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter">

</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Desc.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Desc() {
return (
<>
<div className="page-desc">
<h1 className={"title desc-title"}>Décibels c'est : </h1>
<h1 className={"title desc-title"}><span className="highlightdbs">Décibels</span> c'est : </h1>
</div>
<div className={"grid-desc"}>

Expand Down Expand Up @@ -40,7 +40,7 @@ function Desc() {
<motion.div className={"container first-container-desc"}
whileHover={{scale: 1.1}}
>
<h2>Tout au long de l'année...</h2>
<h2>Tout au long de l'<span className="highlight">année</span>...</h2>
<h5>Décibels c'est 12 évènnements en A23</h5>
</motion.div>
</div>
Expand All @@ -50,7 +50,7 @@ function Desc() {
<motion.div className={"container second-container-desc"}
whileHover={{scale: 1.1}}
>
<h2>Une grande famille</h2>
<h2>Une grande <span className="highlight">famille</span></h2>
<h5>Une équipe de plus de 20 personnes ! </h5>
</motion.div>

Expand All @@ -61,7 +61,7 @@ function Desc() {
<motion.div className={"container third-container-desc"}
whileHover={{scale: 1.1}}
>
<h2>Matériel</h2>
<h2><span className="highlight">Matériel</span></h2>
<h5>Décibels a amassé au fur et à mesure de son avancement 100 000 euros de matériel son & lumières !</h5>
</motion.div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Lights.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Lights(){
<motion.div className={"container container-light"}
whileHover={{scale : 1.1}}
>
<h1>Une expérience lumineuse</h1>
<h1>Une expérience <span className="highlight">lumineuse</span></h1>
<h5>Décibels s'occupe également des lumières ...</h5>
</motion.div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Son.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Son(){
<motion.div className={"container text-son"}
whileHover={{scale : 1.1}}
>
<h1>Une expérience du son</h1>
<h1>Une expérience du <span className="highlight">son</span></h1>
<h5>Depuis de nombreuses années, dBs est une chance donnée aux étudiants d'avoir un apperçu du monde de la sonorisation.<br/>

</h5>
Expand Down
11 changes: 9 additions & 2 deletions src/style/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body{
font-family: "Robotto", sans-serif;
font-family: "Inter", sans-serif;
color: beige;
overflow-x: hidden;
opacity: 1;
Expand Down Expand Up @@ -32,7 +32,11 @@ display: none;
text-align: center;
}


.highlightdbs{
background: linear-gradient(to right, red , rgb(178, 121, 151) , red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}


.title{
Expand All @@ -41,6 +45,9 @@ display: none;
margin-left: 2%;
}




@media only screen and (min-device-width : 0px) and (max-device-width : 1024px) {
.title{
font-size: x-large;
Expand Down
1 change: 1 addition & 0 deletions src/style/Lights.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
justify-content: space-around;
}


.title-lights-container{
display: flex;
justify-content: center;
Expand Down
25 changes: 10 additions & 15 deletions src/style/index.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
margin: 0;
font-family: 'Inter', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: black;

}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
background-image:
radial-gradient(circle at center, rgba(255, 255, 255, 0.005) 0,
0 rgba(255,255, 255, 0.005) 1px,
transparent 1px),
linear-gradient(to right, rgba(255,255, 255, 0.01) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.01)
1px, transparent 1px);
background-color: rgb(17, 17, 17);
}

@media only screen and (min-device-width : 0px) and (max-device-width : 1024px) {


}

0 comments on commit f5632bb

Please sign in to comment.