Skip to content

Commit

Permalink
feat: native fonts + css refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
victorfrye committed Jan 16, 2024
1 parent 20b73fb commit 7a39b37
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/Client/Components/Content/Banner.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section id="banner" class="d-flex align-items-center">
<div class="d-flex">
<img src="/images/profile.png" alt="a profile picture of Victor Frye" class="pfp-bg" width="64px" height="64px">
<img src="/images/profile.png" alt="a profile picture of Victor Frye" class="pfp-bg pfp-img" />
</div>
<div class="d-flex flex-column p-3">
<div class="d-flex align-items-center">
Expand Down
6 changes: 3 additions & 3 deletions src/Client/Components/Content/Connect.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
}

.btn-social:hover:nth-child(1) {
background: var(--bg-threads)
background: var(--threads-bg)
}

.btn-social:hover:nth-child(2) {
background: var(--bg-linkedin);
background: var(--linkedin-bg);
}

.btn-social:hover:nth-child(3) {
background: var(--bg-github);
background: var(--github-bg);
}

.btn-social:hover:nth-child(4) {
Expand Down
26 changes: 13 additions & 13 deletions src/Client/wwwroot/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
html,
body {
background: #1d1d20;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
--primary: #c0c0c0;
--secondary: #f8f8ff;
--tertiary: #36454f;
--bg: #1d1d20;
--body-bg: #171717;

--gradient: radial-gradient(circle at 30% 107%, var(--primary) 0%, var(--secondary) 15%, black 70%);
--gradient-tl: linear-gradient(135deg, var(--secondary) 0%, black 50%, var(--secondary) 100%);
--gradient-br: linear-gradient(135deg, black 0%, var(--secondary) 50%, black 100%);

--bg-threads: radial-gradient(circle at 30% 107%, #ffd600 0%, #ffd600 10%, #ff7a00 20%, #ff0069 50%, #d300c5 75%, #7638fa 90%);
--bg-linkedin: #0077B5;
--bg-github: #333333;
--threads-bg: radial-gradient(circle at 30% 107%, #ffd600 0%, #ffd600 10%, #ff7a00 20%, #ff0069 50%, #d300c5 75%, #7638fa 90%);
--linkedin-bg: #0077B5;
--github-bg: #333333;
}

html,
body {
background: var(--body-bg);
font-family: var(--bs-body-font-family)
}

.text-primary {
color: var(--primary) !important;
}

.frame-bg {
background: var(--bg);
background: var(--body-bg);
position: absolute;
z-index: 1;
margin: 30px;
Expand Down Expand Up @@ -57,7 +56,7 @@ body {

.framed-bg {
min-height: calc(100vh - 60px);
background: var(--bg);
background: var(--body-bg);
border-radius: 2.4rem;
padding: 30px 45px;
}
Expand All @@ -70,7 +69,8 @@ body {
background: var(--gradient) !important;
}

a, .btn-link {
a,
.btn-link {
color: var(--primary);
text-decoration: none !important;
border-bottom: 1px dotted var(--primary);
Expand Down

0 comments on commit 7a39b37

Please sign in to comment.