Hot: Improve nav and header

This commit is contained in:
JoseluCross
2018-10-22 18:29:23 +02:00
parent dc67844988
commit ed6f78e95a
6 changed files with 15 additions and 74 deletions

View File

@@ -1,3 +0,0 @@
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

View File

@@ -1,3 +0,0 @@
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

View File

@@ -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;
}

View File

@@ -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>

View File

@@ -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 %}

View File

@@ -1,65 +0,0 @@
{
"doctrine/cache": {
"version": "v1.8.0"
},
"doctrine/dbal": {
"version": "v2.8.0"
},
"doctrine/event-manager": {
"version": "v1.0.0"
},
"jkanetwork/dbwrapper": {
"version": "1.5.1"
},
"pimple/pimple": {
"version": "v3.2.3"
},
"psr/log": {
"version": "1.0.2"
},
"silex/silex": {
"version": "v2.3.0"
},
"symfony/debug": {
"version": "v4.1.5"
},
"symfony/event-dispatcher": {
"version": "v4.1.5"
},
"symfony/flex": {
"version": "1.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.0",
"ref": "e921bdbfe20cdefa3b82f379d1cd36df1bc8d115"
}
},
"symfony/http-foundation": {
"version": "v4.1.5"
},
"symfony/http-kernel": {
"version": "v4.1.5"
},
"symfony/polyfill-ctype": {
"version": "v1.9.0"
},
"symfony/polyfill-mbstring": {
"version": "v1.9.0"
},
"symfony/routing": {
"version": "4.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.0",
"ref": "5f514d9d3b8a8aac3d62ae6a86b18b90ed0c7826"
}
},
"symfony/twig-bridge": {
"version": "v4.1.5"
},
"twig/twig": {
"version": "v2.5.0"
}
}