From 23f12bd10359a1237b15c0b7900e6f0ddd14f041 Mon Sep 17 00:00:00 2001 From: Zaneta Sochon Date: Sat, 15 Feb 2025 22:28:26 +0100 Subject: [PATCH 1/3] feat: Create banner/features sections --- index.html | 111 ++++++++++++++++++ styles/index.css | 167 +++++++++++++++++++++++++++ styles/reset.css | 293 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 571 insertions(+) create mode 100644 index.html create mode 100644 styles/index.css create mode 100644 styles/reset.css diff --git a/index.html b/index.html new file mode 100644 index 00000000..222c7ea6 --- /dev/null +++ b/index.html @@ -0,0 +1,111 @@ + + + + + + + + + + + + Task - HTML and CSS Basics + + +
+ +
+
+

+ Beautiful Free Nova +
+ template +

+

+ A top notch premium quality +
+ template for your next web +
+ project. +

+ +
+
+ Next Gen App Banner +
+
+
+ +
+
+

FEATURES

+
+
+
+ Mobile Phone Icon +
+

Fully Responsive

+

+ Looks amazing on any device: +
+ smartphone, tablet, laptop and +
+

+
+ +
+
+ Tools Icon +
+

CUSTOMIZABLE

+

+ Change the colors, pictures or +
+ any of the sections to suit your +
+ needs. +

+
+ +
+
+ Prize Icon +
+

+ SLICK AND BEAUTIFUL +
+ DESIGN +

+

+ Trendy and fresh design, fits +
+ any website. +

+
+
+
+
+ + diff --git a/styles/index.css b/styles/index.css new file mode 100644 index 00000000..0aa03dcb --- /dev/null +++ b/styles/index.css @@ -0,0 +1,167 @@ +body { + font-family: 'Montserrat', serif; +} + +.container { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; + background: radial-gradient(rgb(194, 74, 126), rgb(105, 86, 235)); +} + +.container__nav { + display: flex; + justify-content: space-between; + align-items: center; + width: 1150px; + padding-top: 35px; +} + +.logo { + max-width: 100px; +} + +.nav { + display: flex; + align-items: center; + gap: 20px; +} + +.nav__link { + text-decoration: none; + color: #ffffff; + font-size: 14px; +} + +.nav__link:hover { + color: #58d5f7; +} + +.btn { + display: flex; + align-items: center; + justify-content: center; + background-color: #0abceb; + border-radius: 10px; + width: 195px; + height: 51px; + transition-duration: 0.4s; +} + +.btn:hover { + background-color: #58d5f7; + color: white; + border-radius: 20px; + box-shadow: -1px 9px 46px -17px rgba(43, 43, 43, 1); +} + +.nav__link--hover:hover { + color: #ffffff; +} + +.hero { + justify-content: flex-start; + align-items: flex-start; + padding-bottom: 150px; + padding-top: 80px; +} + +.left-section__hero { + padding-top: 45px; + width: 560px; +} + +.title { + color: #ffffff; + font-size: 36px; + font-weight: 700; + padding-bottom: 20px; +} + +.description { + line-height: 30px; + font-weight: 400; + font-size: 18px; + color: #ffffff; + padding-bottom: 40px; +} + +.ipad-screen__hero { + background-color: #ffffff; + border: 1px solid #ffffff; + border-width: 15px 15px 80px 15px; + height: 427px; + max-width: 45%; + border-radius: 25px; + transform: rotate(-6deg); +} + +.btn__hero { + background-color: #25f18b; +} + +.btn__hero:hover { + background-color: #6affb4; +} + +.main__container { + background-color: #000000; +} + +.features__container { + display: flex; + flex-direction: column; + align-items: center; + max-width: 830px; + margin: auto; + padding: 70px 0 90px 0px; +} + +.features__header { + color: #ffffff; + padding-bottom: 70px; + font-weight: 400; + font-size: 30px; +} + +.features__offer { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + gap: 60px; +} + +.offer__item { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; +} + +.feature__icon { + background-color: white; + border-radius: 50%; + height: 5.625em; + width: 5.625em; + display: flex; + justify-content: center; + align-items: center; +} + +.feature__title { + font-size: 14px; + font-weight: 500; + line-height: 1.1; + margin: 10px 0; + padding: 15px 0; + color: #ffffff; +} + +.feature__description { + font-weight: 300; + font-size: 14px; + color: #ffffff; +} diff --git a/styles/reset.css b/styles/reset.css new file mode 100644 index 00000000..80eeb069 --- /dev/null +++ b/styles/reset.css @@ -0,0 +1,293 @@ +html, +body, +body div, +span, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +abbr, +address, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +samp, +small, +strong, +sub, +sup, +var, +b, +i, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +figure, +footer, +header, +menu, +nav, +section, +time, +mark, +audio, +video, +details, +summary { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font-weight: normal; + vertical-align: baseline; + background: transparent; +} + +main, +article, +aside, +figure, +footer, +header, +nav, +section, +details, +summary { + display: block; +} + +html { + box-sizing: border-box; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +img { + max-width: 100%; +} + +ul { + list-style: none; +} /* we'll restore bullets as needed for content */ + +blockquote, +q { + quotes: none; +} + +blockquote:before, +blockquote:after, +q:before, +q:after { + content: ''; + content: none; +} + +a { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; +} + +del { + text-decoration: line-through; +} + +abbr[title], +dfn[title] { + border-bottom: 1px dotted #000; + cursor: help; +} + +table { + border-collapse: separate; + border-spacing: 0; + text-align: left; +} +th { + font-weight: bold; + vertical-align: bottom; +} +td { + font-weight: normal; + vertical-align: top; +} +td img { + vertical-align: top; +} + +hr { + display: block; + height: 1px; + border: 0; + border-top: 1px solid #999; + margin: 1rem 0; + padding: 0; +} + +input, +select { + vertical-align: middle; +} + +pre { + white-space: pre-line; +} + +input[type='radio'] { + vertical-align: text-bottom; +} +input[type='checkbox'] { + vertical-align: bottom; +} + +small { + font-size: 0.8rem; +} + +strong { + font-weight: bold; +} + +sub, +sup { + font-size: 0.8rem; + line-height: 0; + position: relative; +} +sup { + top: -0.5rem; +} +sub { + bottom: -0.25rem; +} + +pre, +code, +kbd, +samp { + font-family: monospace, sans-serif; +} + +label, +input[type='button'], +input[type='submit'], +input[type='file'], +button { + cursor: pointer; +} + +button, +input, +select, +textarea { + margin: 0; +} + +ins { + background-color: var(--highlight-color); + color: #000; + text-decoration: none; +} +mark { + background-color: var(--highlight-color); + color: #000; + font-style: italic; + font-weight: bold; +} + +blockquote { + padding: 2rem; + border-left: 1px solid #333; +} + +.clearfix:after { + content: ''; + display: table; + clear: both; +} /* https://css-tricks.com/snippets/css/clear-fix/ */ + +h1, +h2, +h3, +h4, +h5, +h6 { + text-wrap: balance; +} + +p { + text-wrap: pretty; +} + +@media (prefers-reduced-motion: no-preference) { + :has(:target) { + scroll-behavior: smooth; + } +} + +/* ———— END THE GENERIC RESETS ———— */ + +:root { + --font-system: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', + 'Segoe UI Emoji', 'Segoe UI Symbol'; /* https://css-tricks.com/snippets/css/system-font-stack */ + --text-color: #333; + --featured-color: #03f; + --featured-color-hover: #69f; + --highlight-color: #fcd700; +} + +body { + font-size: 16px; + font-family: var(--font-system); + color: var(--text-color); +} + +a { + color: var(--featured-color); +} +a:hover { + color: var(--featured-color-hover); +} + +@media screen and (max-width: 480px) { +} + +@media print { +} From ef481793ea57380395c3b8103f28044ad5ee6d51 Mon Sep 17 00:00:00 2001 From: Zaneta Sochon Date: Sun, 16 Feb 2025 15:40:22 +0100 Subject: [PATCH 2/3] feat: Create Nova Template Layout --- images/team-google.svg | 20 +++ images/team-twitter.svg | 2 +- index.html | 174 ++++++++++++++++++++++- styles/index.css | 304 +++++++++++++++++++++++++++++++++++++++- 4 files changed, 493 insertions(+), 7 deletions(-) create mode 100644 images/team-google.svg diff --git a/images/team-google.svg b/images/team-google.svg new file mode 100644 index 00000000..f6cfe761 --- /dev/null +++ b/images/team-google.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/team-twitter.svg b/images/team-twitter.svg index aca50aaa..c7a56619 100644 --- a/images/team-twitter.svg +++ b/images/team-twitter.svg @@ -1,7 +1,7 @@ - team-twitter + team-google Created with Sketch. diff --git a/index.html b/index.html index 222c7ea6..a9040ca6 100644 --- a/index.html +++ b/index.html @@ -6,12 +6,13 @@ + - Task - HTML and CSS Basics + Nova Theme
@@ -22,7 +23,7 @@
-
+

Beautiful Free Nova
@@ -52,18 +52,18 @@

Download FREE!

- -
+ +
Next Gen App Banner -
+

FEATURES

-
-
+
    +
  • Mobile Phone Icon
    @@ -74,9 +74,9 @@

    Fully Responsive

    smartphone, tablet, laptop and

    -
+ -
+
  • Tools Icon
    @@ -88,9 +88,9 @@

    CUSTOMIZABLE


    needs.

    -
  • + -
    +
  • Prize Icon
    @@ -104,8 +104,8 @@


    any website.

    -

  • -
    + +
    @@ -118,23 +118,23 @@

    White Imac on light background
    -
    +

    SIMPLE AND BEAUTIFUL

    Use Nova theme for your next web project. It is completely customizable so you can change any of the sections to fit your needs. Nova Theme is Free for any kind of use, personal and commercial. Have fun and good luck!

    -
    +

    -
    +

    CHOOSE YOUR PRICING PLAN

    Pick any of our super affordable plan plans

    -
    -
    -
    + +
      +
    • BASIC

      $15

      per month

      @@ -154,8 +154,8 @@

      BASIC

    -
    -
    + +
  • AGENCY

    $55

    per month

    @@ -178,8 +178,8 @@

    AGENCY

  • -
    -
    + +
  • PRO

    $75

    per month

    @@ -206,8 +206,8 @@

    PRO

  • -
    -
    + +
    diff --git a/styles/index.css b/styles/index.css index 64e6c6ab..105692cb 100644 --- a/styles/index.css +++ b/styles/index.css @@ -126,7 +126,7 @@ body { font-size: 30px; } -.features__offer { +.offer { display: flex; justify-content: center; align-items: center; @@ -289,6 +289,10 @@ body { color: #333333; } +.btn__plan { + margin-top: 60px; +} + .plan__link--hover:hover { color: #ffffff; text-decoration: underline;