From 4049d000b227f6c7486a4d6e48e00a216a3a6498 Mon Sep 17 00:00:00 2001 From: soumrnjn Date: Mon, 16 Dec 2024 00:16:09 +0530 Subject: [PATCH] Refractor Activity Section Layout and update CSS --- assets/activity-numbers.svg | 2 +- css/custom.css | 38 ++++++++++++++++++ index.html | 79 ++++++++++++++++++------------------- 3 files changed, 77 insertions(+), 42 deletions(-) diff --git a/assets/activity-numbers.svg b/assets/activity-numbers.svg index 28af8dc7..240d0c80 100644 --- a/assets/activity-numbers.svg +++ b/assets/activity-numbers.svg @@ -1 +1 @@ -9 \ No newline at end of file +9 \ No newline at end of file diff --git a/css/custom.css b/css/custom.css index 22ff5911..7dbe2ff4 100644 --- a/css/custom.css +++ b/css/custom.css @@ -15,3 +15,41 @@ .intro_img>.container>div>div>div>p { padding: 0 10px; } + +/*-- + service Start +--*/ +#service .service-item { + padding: 10px; + margin-bottom: 20px; + border-radius: 10px; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + height: 50vh; + min-height: 500px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: all 0.3s ease; +} + +#service .service-item:hover { + transform: translateY(-5px); + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); + cursor: pointer; +} + +#service .service-item img{ + height: 50%; + width: 100%; + object-fit: contain; +} + +@media only screen and (max-width: 576px) { + #service .service-item { + height: auto; + } + #service .service-item img{ + height: 50vw; + } +} \ No newline at end of file diff --git a/index.html b/index.html index 66b59f1c..445b58b6 100755 --- a/index.html +++ b/index.html @@ -442,102 +442,99 @@

Already using Sugar? We have many activities for you!

The Sugar Learning Platform is a complete environment for teaching and learning, which includes individual activities. If you're already using the Sugar Desktop Environment, then you can install from the activities below, which has links to some of our most popular activities.

-
-
-
+
+
+
Finance activity svg
-

Finance

+

Finance

Roleplay with money

-
-
+
+
Maze Web activity svg
-

Maze

+

Maze

Have fun with progressive challenges

-
-
+
+
Measure activity svg
-

Measure

+

Measure

Use your computer to measure things in the physical world

-
-
+
+
TurtleBlocks3D activity svg
-

TurtleBlocks3D

+

TurtleBlocks3D

Are you already using TurtleBlocks? Try it in three dimensions!

-
+
Words activity svg
-

Words

+

Words

Compose and share your ideas

-
-
+
+
Ruler activity svg
-

Ruler

+

Ruler

Measure and explore math

-
+
-
-
+
+
StarChart activity svg
-

StarChart

+

StarChart

Explore numbers and information in charts

-
+
-
-
+
+
Recall activity svg
-

Recall

+

Recall

Test your memory with this fun game

- - - -
-
-
-
-

Check out the remaining hundreds of activities!

-

We have hundreds of activities to explore.

-

-

Important: Please know that in order to install and try them, you need to be running the Sugar Desktop Environment. If you don't have that already, please consider your other options to explore Sugar: Try Sugar!

-
+
+
+
+

Check out the remaining hundreds of activities!

+

We have hundreds of activities to explore.

+ + +

+

Important: Please know that in order to install and try them, you need to be running the Sugar Desktop Environment. If you don't have that already, please consider your other options to explore Sugar: Try Sugar!