Skip to content

Commit

Permalink
Fixed borders
Browse files Browse the repository at this point in the history
  • Loading branch information
acmoune committed May 23, 2024
1 parent 578c252 commit 7ad021c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 25 deletions.
9 changes: 1 addition & 8 deletions src/OsanWebsite.Web/Components/NewsFeed.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@

.post-item img {
width: 100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border: 1px solid #e1bbc5;
}

.post-details {
font-size: 11pt;
padding: 10px;
padding-top: 5px;
margin-bottom: 25px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
border: 1px solid #e1bbc5;
border-top-width: 0px;
color: #808080;
}

Expand Down
17 changes: 7 additions & 10 deletions src/OsanWebsite.Web/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@
<div id="main-content">
<div id="navbar">
<div id="navbar-body">
<span style="font-size: 12pt;flex-grow:1;color:white;">O'SAN Cave</span>
<span style="font-size: 11pt;flex-grow:1;color:white;">O'SAN Cave</span>

<a href="/" class="osan-btn" style="display: inline; width:auto;margin-right: 5px;padding: 5px 10px;"><span class="fa fa-home" /></a>
<a href="/reservation" class="osan-btn" style="display: inline; width:auto;padding: 5px 10px;margin-right: 5px;">Réservation</a>
<a href="/livraison" class="osan-btn" style="display: inline; width:auto;padding: 5px 10px;margin-right: 5px;">Livraison</a>
<a href="/reservation" class="osan-btn" style="display: inline; width:auto;padding: 5px 10px;margin-right: 5px;">Réserver</a>
<a href="/livraison" class="osan-btn" style="display: inline; width:auto;padding: 5px 10px;margin-right: 5px;">Livrer</a>

<div class="dropdown">
<a class="osan-btn dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-expanded="false">

<a class="osan-btn dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-expanded="false" style="display: inline-block; padding: 5px 10px;">
<span class="fa fa-ellipsis"></span>
</a>

<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="/a-propos">À propos</a>
<a class="dropdown-item" href="/nos-cartes">Nos cartes</a>
<a class="dropdown-item" href="/a-propos" style="font-size: 9pt;">À propos</a>
<a class="dropdown-item" href="/nos-cartes" style="font-size: 9pt;">Nos cartes</a>
</div>
</div>
</div>
Expand All @@ -80,9 +80,6 @@

<script src="~/js/site.js" asp-append-version="true"></script>



@await RenderSectionAsync("Scripts", required: false)
</body>
</html>

10 changes: 3 additions & 7 deletions src/OsanWebsite.Web/wwwroot/css/news.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@
}

.news-details {
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
border: 1px solid #e1bbc5;
border-top-width: 0px;

}

.news-content {
padding: 5px 10px;
padding: 5px 0px;
}

.news-title {
Expand All @@ -30,7 +27,6 @@
height: 40px;
display: flex;
align-items: center;
padding: 0px 10px;
border-top: 1px solid #e1bbc5;
}

Expand All @@ -41,7 +37,7 @@

.news-description {
font-size: 11pt;
padding: 5px 10px;
padding: 5px 0px;
border-top: 1px solid #e1bbc5;
}

Expand Down
4 changes: 4 additions & 0 deletions src/OsanWebsite.Web/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ span.feed-menu {
}



.ho-sidebar {
padding: 10px;
padding-top: 0px;
Expand Down Expand Up @@ -282,3 +283,6 @@ span.feed-menu {
font-size: 9pt !important;
}

.dropdown-toggle:after {
content: none
}

0 comments on commit 7ad021c

Please sign in to comment.