Getting much closer! Still need to finalize About and write Journey.
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
/*** Logo In Header ***/
|
||||
|
||||
/* Shared Attributes */
|
||||
.banner-top, .banner-middle, .banner-bottom {
|
||||
color: white;
|
||||
width: 100%;
|
||||
height: 69px;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
/* Shared Attributes */
|
||||
.banner-top, .banner-middle, .banner-bottom {
|
||||
color: white;
|
||||
width: 100%;
|
||||
height: 69px;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Specific Attributes */
|
||||
.banner-top {
|
||||
background-color: #6633FF;
|
||||
}
|
||||
/* Specific Attributes */
|
||||
.banner-top {
|
||||
background-color: #6633FF;
|
||||
}
|
||||
|
||||
.banner-middle {
|
||||
background-color: #FF9900;
|
||||
}
|
||||
.banner-middle {
|
||||
background-color: #FF9900;
|
||||
}
|
||||
|
||||
.banner-bottom {
|
||||
background-color: #339933;
|
||||
}
|
||||
.banner-bottom {
|
||||
background-color: #339933;
|
||||
}
|
||||
|
2
pages/helpers/banner.php
Normal file → Executable file
2
pages/helpers/banner.php
Normal file → Executable file
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/php
|
||||
<div class="row col-12">
|
||||
<div class="row col-12 header">
|
||||
<div class="banner-top">Peace</div>
|
||||
<div class="banner-middle">Love</div>
|
||||
<div class="banner-bottom">Happiness</div>
|
||||
|
@ -1,29 +1,29 @@
|
||||
/*** Dark Theme ***/
|
||||
body {
|
||||
background-color: #444444;
|
||||
}
|
||||
body {
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
* {
|
||||
color: #CCCCCC;
|
||||
}
|
||||
* {
|
||||
color: #CCCCCC;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #FF9900
|
||||
}
|
||||
a {
|
||||
color: #FF9900
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
color: #6633FF;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
color: #6633FF;
|
||||
}
|
||||
|
||||
.header {
|
||||
/*background-color: #113311;*/
|
||||
background-color: #222222;
|
||||
}
|
||||
.header {
|
||||
/*background-color: #113311;*/
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
.title {
|
||||
background-color: #111111;
|
||||
}
|
||||
.title {
|
||||
background-color: #111111;
|
||||
}
|
||||
|
||||
.text {
|
||||
background-color: #333333;
|
||||
}
|
||||
.text {
|
||||
background-color: #333333;
|
||||
}
|
||||
|
@ -1,50 +1,84 @@
|
||||
/* 2022-09-14 CSS for the website. */
|
||||
/* https://www.w3schools.com/Css/css_rwd_grid.asp */
|
||||
/*** 2022-09-14 CSS for the website. ***/
|
||||
/* https://www.w3schools.com/Css/css_rwd_grid.asp */
|
||||
|
||||
/* Enable dynamic stuffs, maks the element think its entire size includes padding. */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* Enable dynamic stuffs, maks the element think its entire size includes padding. */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/*** Page Sections ***/
|
||||
/** Page with 12 columns **/
|
||||
.col-1 {width: 8.33%;}
|
||||
.col-2 {width: 16.66%;}
|
||||
.col-3 {width: 25%;}
|
||||
.col-4 {width: 33.33%;}
|
||||
.col-5 {width: 41.66%;}
|
||||
.col-6 {width: 50%;}
|
||||
.col-7 {width: 58.33%;}
|
||||
.col-8 {width: 66.66%;}
|
||||
.col-9 {width: 75%;}
|
||||
.col-10 {width: 83.33%;}
|
||||
.col-11 {width: 91.66%;}
|
||||
.col-12 {width: 100%;}
|
||||
/*** Page Sections ***/
|
||||
/** Page with 12 columns **/
|
||||
.col-1 {width: 8.33%;}
|
||||
.col-2 {width: 16.66%;}
|
||||
.col-3 {width: 25%;}
|
||||
.col-4 {width: 33.33%;}
|
||||
.col-5 {width: 41.66%;}
|
||||
.col-6 {width: 50%;}
|
||||
.col-7 {width: 58.33%;}
|
||||
.col-8 {width: 66.66%;}
|
||||
.col-9 {width: 75%;}
|
||||
.col-10 {width: 83.33%;}
|
||||
.col-11 {width: 91.66%;}
|
||||
.col-12 {width: 100%;}
|
||||
|
||||
[class*="col-"] {
|
||||
float: left;
|
||||
padding: 15px;
|
||||
/*border: 1px solid green;*/ /* FORTESTING otherwise disable */
|
||||
}
|
||||
[class*="col-"] {
|
||||
float: left;
|
||||
padding: 15px;
|
||||
/*border: 1px solid green;*/ /* FORTESTING otherwise disable */
|
||||
}
|
||||
|
||||
/* Ensure columns are respected as if they always exist. */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
/* Ensure columns are respected as if they always exist. */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
/** Make the menu items centered and layout horizontal. **/
|
||||
.menu-list {
|
||||
text-align: center;
|
||||
list-style-type: none;
|
||||
padding-left: 0px;
|
||||
}
|
||||
/** Make the menu items centered and layout horizontal. **/
|
||||
.menu-list {
|
||||
text-align: center;
|
||||
list-style-type: none;
|
||||
padding-left: 0px;
|
||||
}
|
||||
.menu_item {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.menu_item {
|
||||
display: inline-block;
|
||||
}
|
||||
/** Be able to position anything easily. **/
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
.left {
|
||||
text-align: start;
|
||||
}
|
||||
.right {
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
/** Use ul to create an indent but without the bullet point. **/
|
||||
.indent {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
/** Objects which need borders **/
|
||||
.border {
|
||||
border: 1px solid #339933;
|
||||
}
|
||||
|
||||
/* Also have this apply to a table's cells. */
|
||||
.border * th,td {
|
||||
border: 1px solid #339933;
|
||||
}
|
||||
|
||||
/** Format tables and allow contents to be broken up. **/
|
||||
table {
|
||||
/*width: 100%;*/
|
||||
border-collapse: collapse;
|
||||
/*table-layout: fixed;*/
|
||||
}
|
||||
table * th,td {
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
/*max-width: 1px;*/
|
||||
padding: 7px;
|
||||
}
|
||||
|
@ -1,11 +1,12 @@
|
||||
#!/usr/bin/php
|
||||
<div class="row header">
|
||||
<ul class="menu-list">
|
||||
<li class="col-2"></li>
|
||||
<li class="col-1"></li>
|
||||
<li class="col-2 menu-item"><a href="/home/">Home</a></li>
|
||||
<li class="col-2 menu-item"><a href="/videos/">Videos</a></li>
|
||||
<li class="col-2 menu-item"><a href="/about/">About</a></li>
|
||||
<li class="col-2 menu-item"><a href="/contact/">Contact</a></li>
|
||||
<li class="col-2 menu-item"><a href="/support/">Support</a></li>
|
||||
<li class="col-2"></li>
|
||||
<li class="col-1"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user