-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
400b81b
commit 7534c5e
Showing
2 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
// Theme colors and spacing variables | ||
$primary-color: #4A90E2; | ||
$secondary-color: #50E3C2; | ||
$text-color: #4A4A4A; | ||
$background-color: #F5F7FA; | ||
$padding-standard: 15px; | ||
$border-radius-standard: 5px; | ||
|
||
// Mixins for common patterns | ||
@mixin flex-center { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
@mixin card-style { | ||
background-color: white; | ||
border-radius: $border-radius-standard; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | ||
padding: $padding-standard; | ||
} | ||
|
||
// Base styles | ||
body { | ||
font-family: 'Poppins', sans-serif; | ||
color: $text-color; | ||
background-color: $background-color; | ||
} | ||
|
||
a { | ||
color: $primary-color; | ||
text-decoration: none; | ||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
// Profile page specific styles | ||
.profile-container { | ||
@include flex-center; | ||
flex-direction: column; | ||
} | ||
|
||
.profile-header { | ||
@include flex-center; | ||
flex-direction: column; | ||
margin-bottom: 20px; | ||
|
||
.profile-image { | ||
border-radius: 50%; | ||
width: 100px; | ||
height: 100px; | ||
margin-bottom: $padding-standard; | ||
} | ||
|
||
.profile-name { | ||
font-size: 20px; | ||
font-weight: bold; | ||
} | ||
|
||
.profile-bio { | ||
text-align: center; | ||
margin-top: $padding-standard; | ||
} | ||
} | ||
|
||
.profile-content { | ||
@include card-style; | ||
margin: 20px auto; | ||
width: 90%; | ||
max-width: 600px; | ||
|
||
.section { | ||
&:not(:last-child) { | ||
margin-bottom: 20px; | ||
} | ||
|
||
h2 { | ||
border-bottom: 2px solid $primary-color; | ||
padding-bottom: $padding-standard / 2; | ||
} | ||
|
||
p, ul { | ||
margin-top: $padding-standard / 2; | ||
} | ||
} | ||
} |