Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typography and list #8

Merged
merged 3 commits into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions Components/Lists/lists.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.flex-row.list-ex {
display: flex;
gap: 50px;
justify-content: center;
}
li {
font-size: 1.3rem;
}
.styled-list li {
padding: 5px 0px;
}

.list-style-circle {
list-style-type: circle;
}

.list-style-square {
list-style-type: square;
}

.list-style-none {
list-style-type: none;
}

.list-style-roman {
list-style-type: upper-roman;
}

.list-style-letter {
list-style-type: upper-alpha;
}

.list-inline li {
display: inline;
padding: 0px 5px;
}
117 changes: 117 additions & 0 deletions Components/Typography/typography.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
.typ-ex-grid {
display: grid;
grid-template-columns: max-content min-content;
grid-template-rows: repeat(auto, 50px);
Shivani-1524 marked this conversation as resolved.
Show resolved Hide resolved
align-items: center;
grid-gap: 30px;
Shivani-1524 marked this conversation as resolved.
Show resolved Hide resolved
}

.tag {
display: flex;
justify-content: center;
align-items: center;
width: max-content;
padding: 5px 7px;
height: 30px;
background-color: var(--yellow-color-light);
border: 2px solid var(--orange-color);
border-radius: 10px;
}

.tag p {
text-align: center;
}

p,
a,
h1,
h2,
h3,
li,
button {
font-family: "Open Sans", sans-serif;
}

.lg-title {
font-size: 3rem;
font-family: "Inter", sans-serif;
font-weight: 800;
}
.rg-title {
font-size: 2rem;
font-family: "Inter", sans-serif;
font-weight: 700;
}
.md-title {
font-size: 1.5rem;
font-family: "Inter", sans-serif;
font-weight: 700;
}
.sm-title {
font-size: 1.2rem;
font-family: "Inter", sans-serif;
font-weight: 800;
}
.xsm-title {
font-size: 12px;
font-family: "Inter", sans-serif;
font-weight: 800;
}

.lg-booky-title {
font-size: 2.5rem;
font-family: "Libre Baskerville", serif;
}
.rg-booky-title {
font-size: 2rem;
font-family: "Libre Baskerville", serif;
}

.md-booky-title {
font-size: 1.5rem;
font-family: "Libre Baskerville", serif;
}

.sm-booky-title {
font-size: 1.2rem;
font-family: "Libre Baskerville", serif;
}

.rg-p {
font-family: "Open Sans", sans-serif;
font-size: 1.4rem;
}
.sm-p {
font-family: "Open Sans", sans-serif;
font-size: 1.2rem;
}
.xsm-p {
font-family: "Open Sans", sans-serif;
font-size: 12px;
}
Shivani-1524 marked this conversation as resolved.
Show resolved Hide resolved

.grey-txt {
color: var(--dark-grey);
}
.light-grey-txt {
color: var(--grey);
}

.bold {
font-weight: 700;
}

.center-txt {
text-align: center;
}

.striked-txt {
text-decoration: line-through;
}

.violet-txt {
color: var(--violet-color);
}
.orange-txt {
color: var(--orange-color);
}
65 changes: 3 additions & 62 deletions Components/components.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@300;400;500;600;700&display=swap");

@import "./SideNav/sidenav.css";
@import "./Footer/footer.css";
Expand All @@ -8,6 +8,8 @@
@import "./Avatar/avatar.css";
@import "./Badge/badge.css";
@import "./FloatingButton/floatingbtn.css";
@import "./Typography/typography.css";
@import "./Lists/lists.css";

html {
overflow: scroll;
Expand Down Expand Up @@ -56,67 +58,6 @@ body {
font-size: 13px;
}

p,
a,
h1,
h2,
h3,
button {
font-family: "Open Sans", sans-serif;
}

.md-title {
font-size: 3rem;
font-family: "Inter", sans-serif;
font-weight: 800;
}
.rg-title {
font-size: 1.5rem;
font-family: "Inter", sans-serif;
font-weight: 700;
}
.sm-title {
font-size: 1.2rem;
font-family: "Inter", sans-serif;
font-weight: 800;
}
.xsm-title {
font-size: 12px;
font-family: "Inter", sans-serif;
font-weight: 800;
}

.rg-booky-title {
font-size: 1.5rem;
font-family: "Libre Baskerville", serif;
font-weight: 700;
}

.md-booky-title {
font-size: 2.5rem;
font-family: "Libre Baskerville", serif;
}

.sm-booky-title {
font-size: 1.4rem;
font-family: "Libre Baskerville", serif;
}

p.rg-p {
font-size: 1.4rem;
}
p.sm-p {
font-size: 1.2rem;
}

.grey-txt {
color: var(--dark-grey);
}

.bold {
font-weight: 700;
}

/* utilities */
.mg-t-50 {
margin-top: 50px;
Expand Down
Loading