Skip to content

Commit

Permalink
💄About /index
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Mar 29, 2020
1 parent e196f01 commit 8a88939
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/index/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const About = () => {
<link rel='icon' href='/static/logomain.svg' />
</Head>
<NavBar name="main" tab={isSmallScreen ? homeMin : home} confirm={onConfirm} />
<div className="warp-society">
<div className="warp-main-page">
<div className="page-content">
{
isSmallScreen ?
Expand Down
73 changes: 73 additions & 0 deletions styles/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,76 @@
}
}
}


.warp-main-page{
.page-content {
padding-top: 3rem;

.container-fluid {
display: flex;
flex-direction: column;
.head-content {
h3 {
font-size: 2rem !important;
margin-bottom: 1rem !important;
}
}
.detail-content {
display: flex;
justify-content: center;
margin: 2rem 3rem;

@media (max-width: 575.98px) {
flex-direction: column;
}
img {
height: 20rem;
margin-right: 1rem;
@media (max-width: 575.98px) {
margin-right: 0;
height: 18rem;
}
}

.data-detail-content {
display: flex;
flex-direction: column;

@media (max-width: 575.98px) {
margin-top: 1rem;
}

.title-content {
padding: 0 3rem;

@media (max-width: 768px) {
padding: 0;
}

.header-title-content {
font-weight: bold !important;
}

h6 {
text-align: start;
opacity: 0.8;
margin-bottom: 0.5rem !important;
font-weight: lighter;
}
}
.more-content {
padding: 0 3rem;
display: flex;

h6 {
margin-top: 1rem;
font-weight: bold;
text-align: center;
}
}
}
}
}
}
}
2 changes: 0 additions & 2 deletions styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
}
}



.ant-progress-outer{
padding: 0 0.5rem !important;
}
Expand Down

1 comment on commit 8a88939

@vercel
Copy link

@vercel vercel bot commented on 8a88939 Mar 29, 2020

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.