diff --git a/ValblazeProject/Shared/CultureSelector.razor b/ValblazeProject/Shared/CultureSelector.razor index 6d7f012..c02fc57 100644 --- a/ValblazeProject/Shared/CultureSelector.razor +++ b/ValblazeProject/Shared/CultureSelector.razor @@ -1,17 +1,14 @@ @using System.Globalization @inject NavigationManager NavigationManager -

- -

+
+ +
@code { diff --git a/ValblazeProject/Shared/CultureSelector.razor.css b/ValblazeProject/Shared/CultureSelector.razor.css new file mode 100644 index 0000000..6d00d81 --- /dev/null +++ b/ValblazeProject/Shared/CultureSelector.razor.css @@ -0,0 +1,67 @@ +:root { + --background-gradient: linear-gradient(30deg, #f39c12 30%, #f1c40f); + --gray: #34495e; + --darkgray: #2c3e50; +} + +select { + /* Reset Select */ + appearance: none; + outline: 0; + border: 0; + box-shadow: none; + /* Personalize */ + flex: 1; + padding: 0 1em; + color: #fff; + background-color: #2c3e50; + background-image: none; + cursor: pointer; +} + /* Remove IE arrow */ + select::-ms-expand { + display: none; + } +/* Custom Select wrapper */ +.select { + position: relative; + display: flex; + width: 200px; + height: 3em; + border-radius: .25em; + overflow: hidden; +} + /* Arrow */ + .select::after { + content: '\25BC'; + position: absolute; + top: 0; + right: 0; + padding: 1em; + background-color: #34495e; + transition: .25s all ease; + pointer-events: none; + } + /* Transition */ + .select:hover::after { + color: #f39c12; + } + +/* Other styles*/ +body { + color: #fff; + background: var(--background-gradient); +} + +h1 { + margin: 0 0 0.25em; +} + +a { + font-weight: bold; + color: var(--gray); + text-decoration: none; + padding: .25em; + border-radius: .25em; + background: white; +} diff --git a/ValblazeProject/Shared/MainLayout.razor b/ValblazeProject/Shared/MainLayout.razor index e46c071..72000e8 100644 --- a/ValblazeProject/Shared/MainLayout.razor +++ b/ValblazeProject/Shared/MainLayout.razor @@ -2,7 +2,6 @@ @using ValblazeProject.UIThemeClasses
- diff --git a/ValblazeProject/Shared/MainLayout.razor.css b/ValblazeProject/Shared/MainLayout.razor.css index 551e4b2..ebfd554 100644 --- a/ValblazeProject/Shared/MainLayout.razor.css +++ b/ValblazeProject/Shared/MainLayout.razor.css @@ -9,7 +9,7 @@ main { } .sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); + background-image: linear-gradient(180deg, #34495e, #2c3e50 70%); } .top-row { @@ -46,15 +46,14 @@ main { } @media (min-width: 641px) { - .page { - flex-direction: row; - } .sidebar { - width: 250px; - height: 100vh; + display:flex; + height: 80px; + align-items:center; position: sticky; - top: 0; + justify-content: center; + /*top: 0;*/ } .top-row { diff --git a/ValblazeProject/Shared/NavMenu.razor b/ValblazeProject/Shared/NavMenu.razor index e1aff3a..87d088c 100644 --- a/ValblazeProject/Shared/NavMenu.razor +++ b/ValblazeProject/Shared/NavMenu.razor @@ -1,10 +1,5 @@ - +
+ +
@code { private bool collapseNavMenu = true; diff --git a/ValblazeProject/Shared/NavMenu.razor.css b/ValblazeProject/Shared/NavMenu.razor.css index acc5f9f..5c87f4f 100644 --- a/ValblazeProject/Shared/NavMenu.razor.css +++ b/ValblazeProject/Shared/NavMenu.razor.css @@ -1,3 +1,17 @@ +.flex-column { + display: flex; + flex-direction: row !important; +} + +.bannerLogo{ + width: 300px; +} + +.logoNav{ + position: relative; + right: 8%; +} + .navbar-toggler { background-color: rgba(255, 255, 255, 0.1); } @@ -18,17 +32,24 @@ top: -2px; } +.langue { + position: relative; + left: 8%; +} + .nav-item { - font-size: 0.9rem; - padding-bottom: 0.5rem; + display: flex; + align-items: center; + /*font-size: 0.9rem; + padding-bottom: 0.5rem;*/ } .nav-item:first-of-type { - padding-top: 1rem; + /*padding-top: 1rem;*/ } .nav-item:last-of-type { - padding-bottom: 1rem; + /*padding-bottom: 1rem;*/ } .nav-item ::deep a { @@ -57,6 +78,6 @@ .collapse { /* Never collapse the sidebar for wide screens */ - display: block; + display: flex; } } diff --git a/ValblazeProject/ValblazeProject.csproj b/ValblazeProject/ValblazeProject.csproj index ee741df..54754fd 100644 --- a/ValblazeProject/ValblazeProject.csproj +++ b/ValblazeProject/ValblazeProject.csproj @@ -26,7 +26,10 @@ - + + + Always + diff --git a/ValblazeProject/wwwroot/images/BannerMinecraft.png b/ValblazeProject/wwwroot/images/BannerMinecraft.png new file mode 100644 index 0000000..cc68cde Binary files /dev/null and b/ValblazeProject/wwwroot/images/BannerMinecraft.png differ diff --git a/ValblazeProject/wwwroot/images/Minecraft-logos.jpg b/ValblazeProject/wwwroot/images/Minecraft-logos.jpg new file mode 100644 index 0000000..48ede4c Binary files /dev/null and b/ValblazeProject/wwwroot/images/Minecraft-logos.jpg differ diff --git a/ValblazeProject/wwwroot/images/Minecraft-logos.png b/ValblazeProject/wwwroot/images/Minecraft-logos.png new file mode 100644 index 0000000..311d76d Binary files /dev/null and b/ValblazeProject/wwwroot/images/Minecraft-logos.png differ