mobile styling applied

This commit is contained in:
Linna Luo 2021-07-01 21:14:01 -04:00
parent 1381465fac
commit 9f50614ec3
2 changed files with 21 additions and 14 deletions

View File

@ -1,8 +1,6 @@
.title { .title {
color: var(--purple-2); color: var(--purple-2);
font-size: 48px; font-size: 48px;
position: relative;
bottom: -160px;
} }
.headings { .headings {
@ -45,16 +43,23 @@
} }
.flexBox { .flexBox {
position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-end; justify-content: flex-end;
margin-bottom: -240px;
}
.flexBoxTitle {
position: relative;
display: flex;
flex-direction: row;
right: 280px;
bottom: -200px;
} }
.codey { .codey {
transform: rotate(1.91deg); transform: rotate(1.91deg);
/* position: relative;
left: calc(400rem / 16);
margin-bottom: -280px; */
z-index: -1; z-index: -1;
} }
@ -82,6 +87,7 @@
.mailingList h2 { .mailingList h2 {
color: var(--blue-2); color: var(--blue-2);
font-size: 24px;
} }
@media only screen and (max-width: calc(768rem / 16)) { @media only screen and (max-width: calc(768rem / 16)) {
@ -89,18 +95,19 @@
background-color: #e1eefa; background-color: #e1eefa;
} }
.title { .flexBoxTitle {
color: var(--purple-2); position: relative;
font-size: 48px;
display: flex; display: flex;
flex-direction: row;
justify-content: center; justify-content: center;
right: 0px;
bottom: 0px;
} }
.codey { .flexBox {
transform: rotate(1.91deg);
position: relative; position: relative;
right: calc(1020rem / 16); display: flex;
margin-bottom: -280px; flex-direction: row;
z-index: -1; justify-content: center;
} }
} }

View File

@ -9,7 +9,7 @@ import { SocialLinks } from "../../components/SocialLinks";
export default function AboutUs() { export default function AboutUs() {
return ( return (
<MDXProvider components={{ h2: H2, p: Text, div: Div }}> <MDXProvider components={{ h2: H2, p: Text, div: Div }}>
<div> <div className={styles.flexBoxTitle}>
<h1 className={styles.title}>About Us!</h1> <h1 className={styles.title}>About Us!</h1>
</div> </div>
<div className={styles.flexBox}> <div className={styles.flexBox}>