From c0787b137c805f2d487be757c251413d31a71df1 Mon Sep 17 00:00:00 2001 From: Mr MRF <79112136+Mr-MRF-Dev@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:53:12 +0330 Subject: [PATCH 1/4] Create Cheat sheet folder :bee: --- Cheat-Sheet/css-sass.md | 1 + Cheat-Sheet/ui-ux.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 Cheat-Sheet/css-sass.md create mode 100644 Cheat-Sheet/ui-ux.md diff --git a/Cheat-Sheet/css-sass.md b/Cheat-Sheet/css-sass.md new file mode 100644 index 0000000..c82dd76 --- /dev/null +++ b/Cheat-Sheet/css-sass.md @@ -0,0 +1 @@ +# css / sass diff --git a/Cheat-Sheet/ui-ux.md b/Cheat-Sheet/ui-ux.md new file mode 100644 index 0000000..5363010 --- /dev/null +++ b/Cheat-Sheet/ui-ux.md @@ -0,0 +1 @@ +# ui / ux From 5bcc3b0ea7a5b50295962f881864f76be0594ec9 Mon Sep 17 00:00:00 2001 From: Mr MRF <79112136+Mr-MRF-Dev@users.noreply.github.com> Date: Tue, 23 Jul 2024 20:41:20 +0330 Subject: [PATCH 2/4] upload my project :passport_control: --- MRF-Project/css.css | 70 +++++++++++++++++++++++++++++++++++++++++ MRF-Project/css.css.map | 1 + MRF-Project/css.sass | 53 +++++++++++++++++++++++++++++++ MRF-Project/index.html | 30 ++++++++++++++++++ MRF-Project/main.js | 39 +++++++++++++++++++++++ 5 files changed, 193 insertions(+) create mode 100644 MRF-Project/css.css create mode 100644 MRF-Project/css.css.map create mode 100644 MRF-Project/css.sass create mode 100644 MRF-Project/index.html create mode 100644 MRF-Project/main.js diff --git a/MRF-Project/css.css b/MRF-Project/css.css new file mode 100644 index 0000000..cf40e9c --- /dev/null +++ b/MRF-Project/css.css @@ -0,0 +1,70 @@ +body { + display: flex; +} + +aside { + width: 20%; + box-sizing: border-box; + margin: 10px; + padding: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); + border-radius: 5px; + background-color: #f2f2f2; +} + +#main { + width: 80%; + box-sizing: border-box; + margin: 10px; + padding: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); + border-radius: 5px; + background-color: #fff; +} + +header { + margin: 10px; + padding: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); + border-radius: 5px; + background-color: #f2f2f2; +} + +footer { + margin: 10px; + padding: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); + border-radius: 5px; + background-color: #f2f2f2; +} + +#container { + display: flex; + align-items: stretch; + justify-content: space-between; + flex-wrap: wrap; +} +#container .card { + margin: 10px; + padding: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); + border-radius: 5px; + background-color: #fff; + width: 22%; + box-sizing: border-box; + display: flex; + flex-direction: column; + align-items: center; +} +#container .card h3 { + margin-top: 10px; + font-size: 1.5rem; +} +#container .card img { + width: 80%; + margin-top: 10px; +} +#container .card p { + margin-top: 10px; + font-size: 0.9rem; +}/*# sourceMappingURL=css.css.map */ \ No newline at end of file diff --git a/MRF-Project/css.css.map b/MRF-Project/css.css.map new file mode 100644 index 0000000..ae9b578 --- /dev/null +++ b/MRF-Project/css.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["css.sass","css.css"],"names":[],"mappings":"AAYA;EACI,aAAA;ACXJ;;ADaA;EAbI,UAAA;EACA,sBAAA;EAGA,YAAA;EACA,aAAA;EACA,sCAAA;EACA,kBAAA;EACA,yBAAA;ACEJ;;ADOA;EAjBI,UAAA;EACA,sBAAA;EAGA,YAAA;EACA,aAAA;EACA,sCAAA;EACA,kBAAA;EACA,sBAAA;ACYJ;;ADCA;EAjBI,YAAA;EACA,aAAA;EACA,sCAAA;EACA,kBAAA;EACA,yBAAA;ACoBJ;;ADJA;EApBI,YAAA;EACA,aAAA;EACA,sCAAA;EACA,kBAAA;EACA,yBAAA;AC4BJ;;ADTA;EACI,aAAA;EACA,oBAAA;EACA,8BAAA;EACA,eAAA;ACYJ;ADVI;EA7BA,YAAA;EACA,aAAA;EACA,sCAAA;EACA,kBAAA;EACA,sBAAA;EARA,UAAA;EACA,sBAAA;EAmCI,aAAA;EACA,sBAAA;EACA,mBAAA;ACiBR;ADfQ;EACI,gBAAA;EACA,iBAAA;ACiBZ;ADfQ;EACI,UAAA;EACA,gBAAA;ACiBZ;ADfQ;EACI,gBAAA;EACA,iBAAA;ACiBZ","file":"css.css"} \ No newline at end of file diff --git a/MRF-Project/css.sass b/MRF-Project/css.sass new file mode 100644 index 0000000..32f13bd --- /dev/null +++ b/MRF-Project/css.sass @@ -0,0 +1,53 @@ + +@mixin boxSizing($w) + width: #{$w} + box-sizing: border-box + +@mixin sectionStyle($bg_color:#fff) + margin: 10px + padding: 20px + box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) + border-radius: 5px + background-color: #{$bg_color} + +body + display: flex + +aside + @include boxSizing(20%) + @include sectionStyle(#f2f2f2) + +#main + @include boxSizing(80%) + @include sectionStyle() + +header + @include sectionStyle(#f2f2f2) + +footer + @include sectionStyle(#f2f2f2) + +#container + display: flex + align-items: stretch + justify-content: space-between + flex-wrap: wrap + + .card + @include sectionStyle() + @include boxSizing(22%) + display: flex + flex-direction: column + align-items: center + + h3 + margin-top: 10px + font-size: 1.5rem + + img + width: 80% + margin-top: 10px + + p + margin-top: 10px + font-size: 0.9rem diff --git a/MRF-Project/index.html b/MRF-Project/index.html new file mode 100644 index 0000000..9643570 --- /dev/null +++ b/MRF-Project/index.html @@ -0,0 +1,30 @@ + + +
+ + + + + +