first commit
This commit is contained in:
258
styles/GithubPage.module.css
Normal file
258
styles/GithubPage.module.css
Normal file
@@ -0,0 +1,258 @@
|
||||
.layout {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pageHeading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding-top: 3rem;
|
||||
}
|
||||
|
||||
.githubPage {
|
||||
width: 100%;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--accent-color);
|
||||
margin-bottom: 1.5rem;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 400;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
margin-bottom: 3rem;
|
||||
max-width: 600px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.profileSection {
|
||||
background: var(--article-bg);
|
||||
border-radius: 8px;
|
||||
padding: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.profileInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--accent-color);
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.userInfo {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.username::before {
|
||||
content: '@';
|
||||
font-size: 1.5rem;
|
||||
color: var(--accent-color);
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.username::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: -4px;
|
||||
width: 40px;
|
||||
height: 2px;
|
||||
background-color: var(--accent-color);
|
||||
}
|
||||
|
||||
.stats {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.statItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.statIcon {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.profileLink {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
width: fit-content;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
padding: 0.3rem 0.7rem;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.profileLink:hover {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.sectionHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
.sectionIcon {
|
||||
color: var(--accent-color);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.reposContainer {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.contributions {
|
||||
background: var(--article-bg);
|
||||
border-radius: 8px;
|
||||
padding: 1.5rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.contributions article {
|
||||
width: 100% !important;
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
.underline {
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
background-image: linear-gradient(
|
||||
120deg,
|
||||
var(--accent-color) 100%,
|
||||
var(--accent-color) 100%
|
||||
);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 0.2em;
|
||||
background-position: 0 88%;
|
||||
transition: background-size 0.25s ease-in;
|
||||
}
|
||||
|
||||
.underline:hover {
|
||||
background-size: 100% 88%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.profileInfo {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pageTitle {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.pageSubtitle {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.userInfo {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.reposContainer {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.contributions {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.username {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.username::before {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.sectionIcon {
|
||||
font-size: 1.1rem;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
|
||||
.sectionTitle {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.stats {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) and (max-width: 900px) {
|
||||
.reposContainer {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user