mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-15 09:31:33 +01:00
Hot: Improve nav and header
This commit is contained in:
@@ -37,6 +37,17 @@ p{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
sup, sub {
|
||||
vertical-align: baseline;
|
||||
position: relative;
|
||||
top: -0.4em;
|
||||
}
|
||||
sub {
|
||||
top: 0.4em;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.navbar {
|
||||
min-height: 0px !important;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<header>
|
||||
<h2><a href="index.php" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
|
||||
<h2><sub style="visibility: hidden;">Beta</sub><a href="{{ path('home') }}" style="color: #333">CodeShare</a><sup>Beta</sup></h2>
|
||||
<h5>by <a href="https://csp.jkanetwork.com" style="color: #333">Code Solutions Project</a></h5>
|
||||
<h4>Simple solutions for common problems</h4>
|
||||
</header>
|
||||
@@ -14,7 +14,7 @@
|
||||
<a href="{{ path('home') }}">Home</a>
|
||||
</li>
|
||||
<li {% if page.page == "add" %}class="active"{% endif %}>
|
||||
<a href="{{ path('add') }}">Submit code</a>
|
||||
<a href="{{ path('add') }}" style="color: white;" class="text-uppercase">Submit code</a>
|
||||
</li>
|
||||
<li {% if page.page == "doc" %}class="active"{% endif %}>
|
||||
<a href="{{ path('doc') }}">Documentation</a>
|
||||
@@ -29,7 +29,7 @@
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" name="globalSearch" placeholder="Search">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Submit</button>
|
||||
<button type="submit" class="btn btn-primary btn-sm">Search</button>
|
||||
</form>
|
||||
</li>
|
||||
{% if user.nick is defined %}
|
||||
|
||||
Reference in New Issue
Block a user