better singleton instance
This commit is contained in:
44
style.css
44
style.css
@@ -8,47 +8,3 @@ Requires PHP: 7.4
|
||||
Version: 1.0
|
||||
Text Domain: ofc
|
||||
*/
|
||||
|
||||
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400;1,500&display=swap");
|
||||
|
||||
|
||||
.title-logo {
|
||||
max-width: 350px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body{
|
||||
text-align: center;
|
||||
background-color: #212529;
|
||||
}
|
||||
p{
|
||||
font-family:"Roboto", sans-serif;
|
||||
color:lightgray;
|
||||
}
|
||||
h1{
|
||||
font-family:"Roboto", sans-serif;
|
||||
color:#ee0099;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
font-size:3em;
|
||||
}
|
||||
h2{
|
||||
font-family:"Roboto", sans-serif;
|
||||
color:lightgray;
|
||||
}
|
||||
#rad-tag{
|
||||
font-family:"Roboto", sans-serif;
|
||||
font-weight: bold;
|
||||
/* font-style: italic; */
|
||||
color: lightgray;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bottom-link{
|
||||
color: #ee0099;
|
||||
}
|
||||
hr {
|
||||
border-color: #343a40;
|
||||
}
|
||||
@@ -24,6 +24,7 @@ class Site
|
||||
{
|
||||
if (self::$instance === null) {
|
||||
self::$instance = new self([]);
|
||||
self::$instance->bootstrap();
|
||||
}
|
||||
return self::$instance;
|
||||
}
|
||||
@@ -35,7 +36,6 @@ class Site
|
||||
}
|
||||
|
||||
$this->config = $config;
|
||||
$this->bootstrap();
|
||||
}
|
||||
|
||||
private function bootstrap()
|
||||
|
||||
Reference in New Issue
Block a user