From 6c666b805d134dafa7906eec0c5241671c6fab0b Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 11 May 2023 17:58:03 +0300 Subject: [PATCH] loo --- DEVELOPMENT/dependency.sh | 3 ++ assets/css/main.css | 39 +++++++++--------------- assets/css/main.css.map | 2 +- assets/scss/main.scss | 64 +++++++++++++++++++++++---------------- dev/index.php | 30 +++++++++++++++--- links/index.php | 47 ++++++++++++++++++++-------- 6 files changed, 117 insertions(+), 68 deletions(-) diff --git a/DEVELOPMENT/dependency.sh b/DEVELOPMENT/dependency.sh index 75f44ef..5757b0f 100644 --- a/DEVELOPMENT/dependency.sh +++ b/DEVELOPMENT/dependency.sh @@ -20,3 +20,6 @@ whereis php # check php version with: php --version + +# When running 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 359d6e8..13b2143 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,35 +1,26 @@ -:root { - --palette1-color1: #212A3E; - --palette1-color2: #394867; - --palette1-color3: #9BA4B5; - --palette1-color4: #F1F6F9; - --palette2-color1: #1B262C; - --palette2-color2: #0F4C75; - --palette2-color3: #3282B8; - --palette2-color4: #BBE1FA; - --cur-color1: var(--palette2-color1); - --cur-color2: var(--palette2-color2); - --cur-color3: var(--palette2-color3); - --cur-color4: var(--palette2-color4); -} - body { - background-color: var(--cur-color1); + background-color: #212A3E; } - -.outline { +body .block-out { display: flex; flex-direction: column; + margin: 0rem 5rem; + align-self: center; } - -.inline { - background-color: var(--cur-color2); - color: var(--cur-color4); +body .block-out .block-in { + background-color: #394867; + color: #F1F6F9; border-radius: 10px; border-style: groove; padding: 1rem 0; + margin: 1rem 0; +} +body .block-out .block-in .basic-list { + text-align: center; + list-style-type: none; +} +body .block-out .block-in .basic-list > .block-list-in { + padding: 1rem 0; } - - /*# sourceMappingURL=main.css.map */ diff --git a/assets/css/main.css.map b/assets/css/main.css.map index d328086..b82434a 100644 --- a/assets/css/main.css.map +++ b/assets/css/main.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/main.css"],"names":[],"mappings":"AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF","file":"main.css"} \ No newline at end of file +{"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 diff --git a/assets/scss/main.scss b/assets/scss/main.scss index dad923d..8a36ba4 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -1,35 +1,47 @@ -:root { - --palette1-color1: #212A3E; - --palette1-color2: #394867; - --palette1-color3: #9BA4B5; - --palette1-color4: #F1F6F9; +$palette1-color1: #212A3E; +$palette1-color2: #394867; +$palette1-color3: #9BA4B5; +$palette1-color4: #F1F6F9; - --palette2-color1: #1B262C; - --palette2-color2: #0F4C75; - --palette2-color3: #3282B8; - --palette2-color4: #BBE1FA; +$palette2-color1: #1B262C; +$palette2-color2: #0F4C75; +$palette2-color3: #3282B8; +$palette2-color4: #BBE1FA; - --cur-color1: var(--palette2-color1); - --cur-color2: var(--palette2-color2); - --cur-color3: var(--palette2-color3); - --cur-color4: var(--palette2-color4); -} +$cur-color1: $palette1-color1; +$cur-color2: $palette1-color2; +$cur-color3: $palette1-color3; +$cur-color4: $palette1-color4; body { - background-color: var(--cur-color1); -} + background-color: $cur-color1; -.outline { - display: flex; - flex-direction: column; -} + .block-out { + display: flex; + flex-direction: column; + margin: 0rem 5rem; + align-self: center; -.inline { - background-color: var(--cur-color2); - color: var(--cur-color4); + .block-in { + background-color: $cur-color2; + color: $cur-color4; - border-radius: 10px; - border-style: groove; + border-radius: 10px; + border-style: groove; + + padding: 1rem 0; + margin: 1rem 0; + + .basic-list { + text-align: center; + list-style-type: none; + + >.block-list-in{ + padding: 1rem 0; + } + } + } + + } - padding: 1rem 0; } \ No newline at end of file diff --git a/dev/index.php b/dev/index.php index fb3204c..cca4f59 100644 --- a/dev/index.php +++ b/dev/index.php @@ -1,13 +1,34 @@ +

Error: [$errno] $errstr
in file $errfile line $errline

"; +} +set_error_handler("warnError"); + +if (!$_SERVER['DOCUMENT_ROOT']) { + $_SERVER['DOCUMENT_ROOT'] = '/weblink'; +} +# TODO separate file +?> + + + isDot()) && str_ends_with($file, ".css")) { echo '' . PHP_EOL . ' '; @@ -21,8 +42,9 @@

DEVELOPMENT PAGE


- + "; echo 'PHP_SELF:' . $_SERVER['PHP_SELF'] . PHP_EOL . "
"; echo 'GATEWAY_INTERFACE:' . $_SERVER['GATEWAY_INTERFACE'] . PHP_EOL . "
"; @@ -57,8 +79,8 @@ ?> -isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") { echo '' . PHP_EOL . ' '; diff --git a/links/index.php b/links/index.php index c89d5e2..ba600bc 100644 --- a/links/index.php +++ b/links/index.php @@ -1,5 +1,19 @@ +

Error: [$errno] $errstr
in file $errfile line $errline

"; +} +set_error_handler("warnError"); + +if (!$_SERVER['DOCUMENT_ROOT']) { + $_SERVER['DOCUMENT_ROOT'] = '/weblink'; +} +# TODO separate file +?> @@ -13,33 +27,40 @@ isDot()) && str_ends_with($file, ".css")) { echo '' . PHP_EOL . ' '; } } ?> - Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr + My Links | Aliberk Sandıkçı -
- +

STILL UNDER ACTIVE DEVELOPMENT

- +
+ + + +
+ +
-isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") { echo '' . PHP_EOL . ' ';