diff --git a/project/assets/css/style.css b/project/assets/css/style.css index 0b02eac..00d5911 100755 --- a/project/assets/css/style.css +++ b/project/assets/css/style.css @@ -179,7 +179,12 @@ h2{ font-size: 20px; color: white; } - +.test2{ + padding-left: 27px; + padding-right: 27px; + margin-top: 100px; + text-align: center; +} .content-homediv{ padding: 0; } @@ -469,6 +474,7 @@ input {outline: none} .test1{ margin-top: 30px; } + .articleHome2{ margin-top:30px; } diff --git a/project/assets/php/functions.php b/project/assets/php/functions.php index 64b494f..010e838 100755 --- a/project/assets/php/functions.php +++ b/project/assets/php/functions.php @@ -11,10 +11,10 @@ function endsWith($haystack, $needle) { } function connect() { - $host = "127.0.0.1"; + $host = "localhost"; $db = "blog"; - $user = "blog"; - $pass = "blog"; + $user = "root"; + $pass = "root"; $charset="utf8mb4"; $dsn = "mysql:host=$host;dbname=$db;charset=$charset"; @@ -25,3 +25,7 @@ function connect() { } return $pdo; } + +function getBDD() { + +}