From b5d6daf7a24c9aee2045c32a44494fd936aca77d Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 11 May 2023 21:13:28 +0300 Subject: [PATCH] update: links page --- .cpanel.yml | 3 +- DEVELOPMENT/dependency.sh | 2 +- assets/css/main.css | 48 +++++++++++++++++++++-- assets/css/main.css.map | 2 +- assets/js/animation.js | 0 assets/scss/main.scss | 66 +++++++++++++++++++++++++++++--- about.html => c/about/intex.html | 0 {dev => c/dev}/index.php | 0 c/link/index.html | 9 +++++ {links => c/links}/index.php | 25 ++++++++---- 10 files changed, 133 insertions(+), 22 deletions(-) create mode 100644 assets/js/animation.js rename about.html => c/about/intex.html (100%) rename {dev => c/dev}/index.php (100%) create mode 100644 c/link/index.html rename {links => c/links}/index.php (74%) diff --git a/.cpanel.yml b/.cpanel.yml index 497e9f7..a58f147 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -4,6 +4,5 @@ deployment: - /bin/cp index.html ~/public_html - /bin/cp about.html ~/public_html - /bin/cp -R assets ~/public_html - - /bin/cp -R dev ~/public_html - - /bin/cp -R links ~/public_html + - /bin/cp -R c ~/public_html diff --git a/DEVELOPMENT/dependency.sh b/DEVELOPMENT/dependency.sh index 5757b0f..d2481e9 100644 --- a/DEVELOPMENT/dependency.sh +++ b/DEVELOPMENT/dependency.sh @@ -21,5 +21,5 @@ whereis php # check php version with: php --version -# When running in local machine link /weblink to ./www +# When running server in local machine link /weblink to ./www ln -sv /path/to/www/ /weblink \ No newline at end of file diff --git a/assets/css/main.css b/assets/css/main.css index 13b2143..6eee9c2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -4,23 +4,63 @@ body { body .block-out { display: flex; flex-direction: column; - margin: 0rem 5rem; align-self: center; } +@media only screen and (min-width: 768px) { + body .block-out { + margin: 0rem 5rem; + } +} body .block-out .block-in { - background-color: #394867; + background-color: #173652; color: #F1F6F9; border-radius: 10px; border-style: groove; padding: 1rem 0; margin: 1rem 0; } -body .block-out .block-in .basic-list { +body .block-out .block-in .list-header { text-align: center; +} +body .block-out .block-in .basic-list { list-style-type: none; + display: flex; + flex-direction: column; + align-items: center; + padding: 0px; } body .block-out .block-in .basic-list > .block-list-in { - padding: 1rem 0; + padding: 0rem 0; + margin: 0.5rem 0; + text-align: center; + background-color: #394867; + border-radius: 10px; + border-style: dotted; + width: fit-content; + min-width: 50%; +} +@media only screen and (max-width: 768px) { + body .block-out .block-in .basic-list > .block-list-in { + min-width: 90%; + } +} +body .block-out .block-in .basic-list > .block-list-in .in-p { + margin: 0px; + padding: 1rem; + font-size: x-large; + font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif; +} +body .block-out .block-in .basic-list > .block-list-in > a { + color: #F1F6F9; +} +body .block-out .block-in .basic-list > .block-list-in > a:hover { + color: #9BA4B5; +} +body .block-out .block-in .basic-list > .block-list-in > a:visited { + color: #a54051; +} +body .block-out .block-in .basic-list.block-hover:hover { + transition: all; } /*# sourceMappingURL=main.css.map */ diff --git a/assets/css/main.css.map b/assets/css/main.css.map index b82434a..2fe68b9 100644 --- a/assets/css/main.css.map +++ b/assets/css/main.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/main.scss"],"names":[],"mappings":"AAeA;EACE,kBAhBgB;;AAkBhB;EACE;EACA;EACA;EACA;;AAEA;EACE,kBAxBY;EAyBZ,OAvBY;EAyBZ;EACA;EAEA;EACA;;AAEA;EACE;EACA;;AAEA;EACE","file":"main.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/main.scss"],"names":[],"mappings":"AAeA;EACE,kBAhBgB;;AAkBhB;EACE;EACA;EAMA;;AAJA;EAJF;IAKI;;;AAKF;EACE;EACA,OA3BY;EA6BZ;EACA;EAEA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EAEA;EACA;;AAGA;EACE;EACA;EAEA;EAEA,kBAxDQ;EAyDR;EACA;EAEA;EACA;;AAEA;EAbF;IAcI;;;AAGF;EACE;EACA;EAEA;EACA;;AAKF;EACE,OA5EM;;AA8EN;EACE,OAhFI;;AAmFN;EACE;;AAMN;EACE","file":"main.css"} \ No newline at end of file diff --git a/assets/js/animation.js b/assets/js/animation.js new file mode 100644 index 0000000..e69de29 diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 8a36ba4..c158697 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -19,11 +19,15 @@ body { .block-out { display: flex; flex-direction: column; - margin: 0rem 5rem; + + @media only screen and (min-width: 768px) { + margin: 0rem 5rem; + } + align-self: center; .block-in { - background-color: $cur-color2; + background-color: adjust-color($color: $cur-color1, $red: -10, $green: 12, $blue: 20, $alpha: 0.8); color: $cur-color4; border-radius: 10px; @@ -32,12 +36,62 @@ body { padding: 1rem 0; margin: 1rem 0; - .basic-list { + .list-header { text-align: center; + } + + .basic-list { list-style-type: none; - - >.block-list-in{ - padding: 1rem 0; + display: flex; + flex-direction: column; + + align-items: center; + padding: 0px; + + + >.block-list-in { + padding: 0rem 0; + margin: 0.5rem 0; + + text-align: center; + + background-color: $cur-color2; + border-radius: 10px; + border-style: dotted; + + width: fit-content; + min-width: 50%; + + @media only screen and (max-width: 768px) { + min-width: 90%; + } + + .in-p { + margin: 0px; + padding: 1rem; + + font-size: x-large; + font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + } + + + + >a { + color: $cur-color4; + + &:hover { + color: $cur-color3; + } + + &:visited { + color: adjust-color($color: $cur-color3, $red: 10, $green: -100, $blue: -100, $alpha: 1.0); + } + } + + } + + &.block-hover:hover { + transition: all; } } } diff --git a/about.html b/c/about/intex.html similarity index 100% rename from about.html rename to c/about/intex.html diff --git a/dev/index.php b/c/dev/index.php similarity index 100% rename from dev/index.php rename to c/dev/index.php diff --git a/c/link/index.html b/c/link/index.html new file mode 100644 index 0000000..c40499a --- /dev/null +++ b/c/link/index.html @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/links/index.php b/c/links/index.php similarity index 74% rename from links/index.php rename to c/links/index.php index ba600bc..bca2fab 100644 --- a/links/index.php +++ b/c/links/index.php @@ -39,26 +39,35 @@ if (!$_SERVER['DOCUMENT_ROOT']) { -

STILL UNDER ACTIVE DEVELOPMENT

-
-
+
+

Open Source / Decentralized Platform Links

-
+
+

Other Platform Links

+

This page is still in active development