Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
awang1245 committed Mar 8, 2024
1 parent cd2feba commit 8042e7a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h2>Beestar</h2>
/>
<div class="intro-content">
<div class="text">
<h1>Premier school enrichment program for K-12</h1>
<h1>The premier after-school enrichment program for K-12</h1>
<div class="beestar-intro">
Beestar helps thousands of students achieve outstanding grades
using its programs for just 20 minutes a week.
Expand Down
46 changes: 30 additions & 16 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1016,10 +1016,11 @@ footer {

@media (max-width: 600px) {
h1 {
font-size: 20px;
font-size: 18px;
}

h2 {
font-size: 16px;
font-size: 18px;
}

h3 {
Expand All @@ -1045,11 +1046,12 @@ footer {
flex-flow: column nowrap;
align-items: start;
gap: 0;
padding: 12px 24px;
}

.tablet-button {
border-radius: 10px;
padding: 6px 16px 4px 20px;
padding: 6px 18px 4px 20px;

img {
width: 16px;
Expand All @@ -1063,23 +1065,44 @@ footer {

.sidebar-content {
width: 100%;
padding: 2px 24px 6px;
padding: 0px 18px 4px;
button {
font-size: 12px;
width: fit-content;
padding: 14px 26px 12px;
padding: 12px 24px 10px;
border-radius: 14px;
}
}

.program-content {
padding: 16px 24px;
gap: 16px;
padding: 12px 24px;
gap: 8px;

.program-intro {
gap: 4px;
}

.description {
font-size: 10px;
}
}

.grade-num {
font-size: 48px;
padding: 10px 0 0;
width: 80px;
}

.right-content {
padding: 0 16px;
.description {
max-height: 32px;
font-weight: 400;
text-overflow: ellipsis;
overflow: hidden;
}
}

.footer-left {
font-size: 10px;
width: 180px;
Expand Down Expand Up @@ -1130,15 +1153,6 @@ footer {
display: none;
}

.right-content {
.description {
max-height: 44px;
font-weight: 400;
text-overflow: ellipsis;
overflow: hidden;
}
}

.single-col {
display: flex;
flex-flow: column nowrap;
Expand Down

0 comments on commit 8042e7a

Please sign in to comment.