Skip to content

Commit

Permalink
fallitos de course arreglados
Browse files Browse the repository at this point in the history
  • Loading branch information
clara7227 committed Jun 7, 2024
1 parent ebcae63 commit 97b12b5
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 29 deletions.
26 changes: 16 additions & 10 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,8 @@
font-weight: 400;
display: -webkit-box;
}
.course .course_description small {
max-width: 10rem;
}
.course .course_text-block {
max-width: 46rem;
.course_text_block {
max-width: 40rem;
}
.card_container_top {
display: flex;
Expand Down Expand Up @@ -184,6 +181,7 @@
margin-top: 0.14rem;
}
.course .course_text_block {
max-width: 55rem;
transition: ease-in-out 300ms;
width: 100%;
display: flex;
Expand Down Expand Up @@ -219,6 +217,11 @@
text-overflow: ellipsis;
}
}
@media (min-width: 1400px) {
.course .course_text_block {
max-width: 100rem;
}
}
.bg-blue-gradient {
background: linear-gradient(139deg, rgba(83, 64, 255, 0.9) 0%, rgba(111, 199, 255, 0.9) 100%), url("/assets/img/courses/fondo-cursos.png");
background-size: contain;
Expand Down Expand Up @@ -3058,11 +3061,8 @@ h4, h5 {
font-weight: 400;
display: -webkit-box;
}
.course .course_description small {
max-width: 10rem;
}
.course .course_text-block {
max-width: 46rem;
.course_text_block {
max-width: 40rem;
}
.card_container_top {
display: flex;
Expand Down Expand Up @@ -3132,6 +3132,7 @@ h4, h5 {
margin-top: 0.14rem;
}
.course .course_text_block {
max-width: 55rem;
transition: ease-in-out 300ms;
width: 100%;
display: flex;
Expand Down Expand Up @@ -3167,6 +3168,11 @@ h4, h5 {
text-overflow: ellipsis;
}
}
@media (min-width: 1400px) {
.course .course_text_block {
max-width: 100rem;
}
}
.bg-blue-gradient {
background: linear-gradient(139deg, rgba(83, 64, 255, 0.9) 0%, rgba(111, 199, 255, 0.9) 100%), url("/assets/img/courses/fondo-cursos.png");
background-size: contain;
Expand Down
2 changes: 1 addition & 1 deletion app/globals.css.map

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions app/sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@
font-weight: 400;
display: -webkit-box;
}
.course .course_description small {
max-width: 10rem;
}
.course .course_text-block {
max-width: 46rem;
.course_text_block {
max-width: 40rem;
}
.card_container_top {
display: flex;
Expand Down Expand Up @@ -152,6 +149,7 @@
margin-top: 0.14rem;
}
.course .course_text_block {
max-width: 55rem;
transition: ease-in-out 300ms;
width: 100%;
display: flex;
Expand Down Expand Up @@ -187,6 +185,11 @@
text-overflow: ellipsis;
}
}
@media (min-width: 1400px) {
.course .course_text_block {
max-width: 100rem;
}
}
.bg-blue-gradient {
background: linear-gradient(139deg, rgba(83, 64, 255, 0.9) 0%, rgba(111, 199, 255, 0.9) 100%), url("/assets/img/courses/fondo-cursos.png");
background-size: contain;
Expand Down
2 changes: 1 addition & 1 deletion app/sass/main.css.map

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions app/sass/partials/_courses.sass
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,17 @@ $windowWidth: 100vw
.course_title
margin-top:0.6rem
.course_description

transition: ease-in-out 300ms
opacity: 1
display: flex
font-weight:400
display: -webkit-box
//max-height: $windowHeight/7.2
small
max-width: 10rem
// margin-top:0.6rem
// display: -webkit-box
// // -webkit-line-clamp: 5
// -webkit-box-orient: vertical
// overflow: hidden
// text-overflow: ellipsis
.course_text-block
max-width: 46rem

.course_text_block
max-width: 40rem
.card_container_top
display: flex
justify-content: space-between
Expand Down Expand Up @@ -68,6 +63,7 @@ $windowWidth: 100vw
div
margin-top: 0.14rem
.course_text_block
max-width: 55rem
transition: ease-in-out 300ms
// transform: translateY(64%)
width: 100%
Expand All @@ -84,7 +80,7 @@ $windowWidth: 100vw
margin-top:0
display: block
//font-size: 1.1rem
font-weight: 400
max-height:160px

Expand All @@ -107,8 +103,12 @@ $windowWidth: 100vw
-webkit-box-orient: vertical
overflow: hidden
text-overflow: ellipsis



@media (min-width: 1400px)
.course
.course_text_block
max-width: 100rem


.bg-blue-gradient
background: linear-gradient(139deg, rgba(83,64,255,0.9) 0%, rgba(111,199,255,0.9) 100%),url($bg-img)
Expand Down

0 comments on commit 97b12b5

Please sign in to comment.