diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-19 16:02:43 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-19 16:02:43 +0200 |
| commit | a9358fb8a27cd3d48547f5427797702ee2780de8 (patch) | |
| tree | 7925fe254d47f25b9a1322270cb18664f5c7f397 /src/app/components/navbar/navbar.component.css | |
| parent | 5880656282edfb7dc1bb7073c20ccf74aad6a093 (diff) | |
| download | DevHive-Angular-a9358fb8a27cd3d48547f5427797702ee2780de8.tar DevHive-Angular-a9358fb8a27cd3d48547f5427797702ee2780de8.tar.gz DevHive-Angular-a9358fb8a27cd3d48547f5427797702ee2780de8.zip | |
Implemented navbar component; added some global stylings and changed the name of others; added icons
Diffstat (limited to 'src/app/components/navbar/navbar.component.css')
| -rw-r--r-- | src/app/components/navbar/navbar.component.css | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/app/components/navbar/navbar.component.css b/src/app/components/navbar/navbar.component.css new file mode 100644 index 0000000..58ec821 --- /dev/null +++ b/src/app/components/navbar/navbar.component.css @@ -0,0 +1,43 @@ +#navbar { + width: 100%; + background-color: var(--card-bg); +} + +#nav-contents { + max-width: var(--max-width); + margin: 0 auto; + box-sizing: border-box; +} + +#nav-contents img { + height: 1.9em; + width: 1.9em; +} + +@media screen and (max-width: 30rem) { + #nav-username { + display: none; + } + + #navbar { + font-size: 0.8em; + } +} + +#nav-profile-picture { + padding: 0.1em; +} + +#nav-profile-picture img { + height: 1.8em; + width: 1.8em; +} + +.nav-item { + margin-left: 0.2em; + padding: 0 0.1em; +} + +.nav-item:first-child { + margin-left: 0; +} |
