Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
GH-87 Move css to style file and setup variables (#87)
Browse files Browse the repository at this point in the history
* setup type safe script and use routing

* Update README.md

Co-authored-by: Jakubk15 <[email protected]>

* follow rollczi's suggestions

* Remove projects i about href

* Thank you frontaś

* Update Navbar.vue

* Move css to file, and setup variables

* Update router.ts

---------

Co-authored-by: Norbert Dejlich <[email protected]>
Co-authored-by: Jakubk15 <[email protected]>
  • Loading branch information
3 people authored Apr 23, 2023
1 parent 4de8868 commit a3947ac
Show file tree
Hide file tree
Showing 11 changed files with 118 additions and 119 deletions.
66 changes: 0 additions & 66 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,70 +12,4 @@ import Footer from "@/components/footer/Footer.vue";
</template>


<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap');
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #000000;
box-shadow: inset 0 0 5px rgb(0, 0, 0);
border-radius: 0;
}
::-webkit-scrollbar-thumb {
background-color: rgb(22, 22, 22);
border-radius: 0;
}
* {
padding: 0;
margin: 0;
align-items: center;
}
html {
width: 100%;
height: 100%;
scroll-behavior: smooth;
overflow-x: hidden;
}
body {
font-family: "Montserrat", sans-serif;
font-weight: 500;
height: 100%;
overflow-x: hidden;
background: rgb(30, 31, 31);
background: -moz-linear-gradient(146deg, rgba(30, 31, 31, 1) 45%, rgba(2, 2, 2, 1) 100%);
background: -webkit-linear-gradient(right, rgb(30, 31, 31), #020202);
background: linear-gradient(to right, #1e1f1f, #020202);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1e1f1f", endColorstr="#020202", GradientType=1);
}
a:link {
text-decoration: none;
}
header {
background-image: url('/assets/img/header/bg.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media only screen and (max-width: 1000px) {
header {
background-image: url('/assets/img/header/bg.webp');
}
}
</style>





8 changes: 4 additions & 4 deletions src/components/about/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
}
.card-ab h1 {
border-left: 5px solid #0f0f0f;
border-left: 5px solid var(--black);
}
.card-ab p {
Expand All @@ -55,12 +55,12 @@ export default {
background: -webkit-linear-gradient(90deg, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
background: linear-gradient(90deg, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3f5efb", endColorstr="#fc466b", GradientType=1);
color: #ffffff;
color: var(--white);
}
.card-ab h1 {
font-weight: 800;
border-left: 5px solid #ffffff;
border-left: 5px solid var(--white);
}
.card-ab p {
Expand All @@ -80,7 +80,7 @@ export default {
.intellij {
box-shadow: rgba(0, 0, 0, 0.8) 0 0 15px;
box-shadow: var(--black) 0 0 15px;
width: 100%;
border-radius: 15px;
}
Expand Down
24 changes: 8 additions & 16 deletions src/components/footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,40 @@
</footer>
</template>

<style>
<style scoped>
@media only screen and (max-width: 1000px) {
footer {
background-color: #11111100;
background-color: var(--dark-gray);
margin: 7% 11% 7% 8%;
padding: 2%;
font-size: small;
color: #444444;
color: var(--primary-dark-gray);
}
}
footer {
background-color: #111111;
background-color: var(--dark-gray);
border-radius: 12px;
margin: 2% 11% 2% 8%;
padding: 2%;
font-size: small;
color: #444444;
color: var(--primary-dark-gray);
}
footer .info {
margin-top: 15px;
transition: 0.5s;
color: #d3d4d5 !important;
color: var(--white-gray) !important;
margin-right: 19px;
font-size: 14px;
}
footer .info:hover {
color: #666666 !important;
}
footer a {
color: rgb(133, 133, 133);
}
footer a:hover {
color: rgb(100, 100, 100);
color: var(--secondary-title);
}
.footer-social a {
color: rgb(190, 190, 190) !important;
color: var(--primary-title) !important;
margin: 5px;
font-size: large;
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/header/Flex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
}
.flex p {
color: #666666;
color: var(--primary-dark-gray);
}
.flex h1 {
color: #ffffff;
color: var(--white);
font-weight: 800;
font-size: 50px;
}
Expand All @@ -94,13 +94,13 @@
.social a {
position: -ms-device-fixed;
color: #b8b8b8 !important;
color: var(--white-gray) !important;
margin: 10px;
font-size: large;
}
.social a:hover {
color: #666666;
color: var(--primary-dark-gray);
}
.skill {
Expand Down
10 changes: 5 additions & 5 deletions src/components/header/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default {
}
.navbar-brand {
color: white !important;
color: var(--white) !important;
margin-top: 30px;
margin-left: 10px
}
Expand All @@ -110,7 +110,7 @@ export default {
.nav-link {
font-family: "Inter", sans-serif;
text-transform: uppercase;
color: #d3d4d5 !important;
color: var(--white-gray) !important;
margin-right: 3px;
font-size: 15px;
transition: 0.5s;
Expand All @@ -119,16 +119,16 @@ export default {
.nav-link:hover {
transition: 0.5s;
color: #666666 !important;
color: var(--primary-dark-gray) !important;
transform: scale(1.05);
}
.custom-toggler {
color: #d3d4d5;
color: var(--white-gray);
}
.navbar-brand {
color: white !important;
color: var(--white) !important;
font-weight: 700;
}
Expand Down
13 changes: 6 additions & 7 deletions src/components/projects/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default {
</script>

<style>
.projects-row {
display: flex;
justify-content: space-around;
Expand Down Expand Up @@ -83,11 +82,11 @@ export default {
}
.card-pro h5 {
color: rgb(167, 167, 167);
color: var(--primary-title);
}
.card-pro h6 {
color: rgb(153, 150, 150);
color: var(--secondary-title);
}
}
Expand All @@ -97,7 +96,7 @@ export default {
#projects h1 {
font-weight: 800;
color: #d3d3d380;
color: var(--primary-title);
font-size: 40px;
border: 2px;
margin-bottom: 1%;
Expand All @@ -106,7 +105,7 @@ export default {
#projects p {
font-weight: 500;
color: #d3d3d354;
color: var(--secondary-title);
font-size: medium;
margin-top: -10px;
border: 2px;
Expand All @@ -119,7 +118,7 @@ export default {
}
.card-pro {
background-color: #2a2c2c;
background-color: var(--light-gray);
border-radius: 12px;
margin-bottom: 2%;
padding: 6% 10%;
Expand All @@ -133,7 +132,7 @@ export default {
}
.card-pro h5 {
color: rgb(114, 114, 114);
color: var(--secondary-title);
font-weight: 600;
}
Expand Down
15 changes: 5 additions & 10 deletions src/components/skills/Skills.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
};
</script>

<style>
<style scoped>
.skills-row {
display: flex;
justify-content: space-around;
Expand All @@ -68,14 +68,14 @@ export default {
#skills h1 {
font-weight: 800;
color: #92909080;
color: var(--primary-title);
font-size: x-large;
border: 2px;
margin-bottom: 2%;
}
.card-info {
background-color: #2a2c2c;
background-color: var(--light-gray);
border-radius: 15px;
padding: 10% 10% 10%;
align-items: center;
Expand All @@ -86,19 +86,14 @@ export default {
height: 95%;
}
.card-info:hover {
background-color: #353838;
transition: 0.5s;
}
.card-info h5 {
color: rgb(196, 196, 196);
color: var(--primary-title);
font-weight: 700;
margin-top: 4%;
}
.card-info p {
color: #666666;
color: var(--secondary-title);
font-size: small;
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/team/Team.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ export default {
#team h1 {
font-weight: 800;
color: #d3d3d380;
color: var(--white-gray);
font-size: 40px;
border: 2px;
text-align: center;
}
#team p {
font-weight: 500;
color: #d3d3d354;
color: var(--white-gray);
font-size: medium;
border: 2px;
text-align: center;
Expand All @@ -105,4 +105,4 @@ export default {
justify-content: center;
align-items: stretch;
}
</style>
</style>
6 changes: 3 additions & 3 deletions src/components/team/components/Member.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
</script>
<style>
.team-card {
background: #2a2c2c;
background: var(--light-gray);
transition: 0.3s;
height: 100%;
}
Expand All @@ -43,11 +43,11 @@ export default {
}
.team-card-title {
color: #fff;
color: var(--white);
}
.team-card-subtitle {
color: #fff;
color: var(--white);
}
.list-inline-item {
Expand Down
Loading

1 comment on commit a3947ac

@vercel
Copy link

@vercel vercel bot commented on a3947ac Apr 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.