diff --git a/front/style/home/global.css b/front/style/home/global.css new file mode 100644 index 0000000..f215ab7 --- /dev/null +++ b/front/style/home/global.css @@ -0,0 +1,5 @@ +#main { + margin-left:10%; + margin-right:10%; + background-color: grey; +} \ No newline at end of file diff --git a/front/style/home/tactic.css b/front/style/home/tactic.css new file mode 100644 index 0000000..7dea75e --- /dev/null +++ b/front/style/home/tactic.css @@ -0,0 +1,10 @@ +#titreTactic { + background-color: red; + padding-right : 10px; + margin-top : 10px; +} + +#titreTactic h2 { + display: inline; + padding-right : 25px; +} \ No newline at end of file diff --git a/front/style/home.css b/front/style/home/titre.css similarity index 67% rename from front/style/home.css rename to front/style/home/titre.css index 4f11371..199c9bc 100644 --- a/front/style/home.css +++ b/front/style/home/titre.css @@ -8,4 +8,8 @@ #IQBall { text-align: center; +} + +#title { + background-color: aqua; } \ No newline at end of file diff --git a/front/views/Home.tsx b/front/views/Home.tsx index 2d2d0be..72643ab 100644 --- a/front/views/Home.tsx +++ b/front/views/Home.tsx @@ -1,16 +1,18 @@ -import "../style/home.css" +import "../style/home/global.css" +import "../style/home/tactic.css" +import "../style/home/titre.css" -export default function Home(){ +export default function Home() { return ( -