mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Adding static design to homepage
This commit is contained in:
parent
89a786c5e1
commit
6cb2bc606e
BIN
website/source/images/logo-static.png
Normal file
BIN
website/source/images/logo-static.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
@ -13,12 +13,12 @@ Engine.Polygon = function(a, b, c, color, strokeColor){
|
|||||||
|
|
||||||
if (strokeColor) {
|
if (strokeColor) {
|
||||||
this.strokeColor = Engine.clone(strokeColor);
|
this.strokeColor = Engine.clone(strokeColor);
|
||||||
this.strokeWidth = 1.5;
|
|
||||||
} else {
|
} else {
|
||||||
this.strokeColor = Engine.clone(color);
|
this.strokeColor = Engine.clone(color);
|
||||||
this.strokeWidth = 0.25;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.strokeWidth = 0.25;
|
||||||
|
this.maxStrokeS = this.strokeColor.s;
|
||||||
this.maxStrokeL = this.strokeColor.l;
|
this.maxStrokeL = this.strokeColor.l;
|
||||||
this.maxColorL = this.color.l;
|
this.maxColorL = this.color.l;
|
||||||
|
|
||||||
@ -59,12 +59,15 @@ Engine.Polygon.prototype = {
|
|||||||
) {
|
) {
|
||||||
this.color.l = this.maxColorL * (delta - this.delay) / this.duration;
|
this.color.l = this.maxColorL * (delta - this.delay) / this.duration;
|
||||||
|
|
||||||
this.strokeColor.s = this.color.s * (delta - this.delay) / this.duration;
|
this.strokeColor.s = this.maxStrokeS * (delta - this.delay) / this.duration;
|
||||||
this.strokeColor.l = (this.maxStrokeL - 100) * (delta - this.delay) / this.duration + 100;
|
this.strokeColor.l = (this.maxStrokeL - 100) * (delta - this.delay) / this.duration + 100;
|
||||||
|
|
||||||
|
this.strokeWidth = 1.5 * (delta - this.delay) / this.duration + 0.25;
|
||||||
|
|
||||||
if (this.color.l > this.maxColorL) {
|
if (this.color.l > this.maxColorL) {
|
||||||
this.color.l = this.maxColorL;
|
this.color.l = this.maxColorL;
|
||||||
this.strokeColor.l = this.maxStrokeL;
|
this.strokeColor.l = this.maxStrokeL;
|
||||||
|
this.strokeWidth = 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.strokeStyle = this.hslaTemplate.substitute(this.strokeColor);
|
this.strokeStyle = this.hslaTemplate.substitute(this.strokeColor);
|
||||||
|
@ -623,7 +623,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -643,7 +643,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -663,7 +663,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -683,7 +683,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -703,7 +703,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -723,7 +723,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -743,7 +743,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -763,7 +763,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -783,7 +783,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -803,7 +803,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -823,7 +823,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -843,7 +843,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -863,7 +863,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -883,7 +883,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -903,7 +903,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -923,7 +923,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -943,7 +943,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -963,7 +963,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -983,7 +983,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1003,7 +1003,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1023,7 +1023,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1043,7 +1043,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1063,7 +1063,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1083,7 +1083,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1103,7 +1103,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1123,7 +1123,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1143,7 +1143,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1163,7 +1163,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1183,7 +1183,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1203,7 +1203,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1223,7 +1223,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1243,7 +1243,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1263,7 +1263,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1283,7 +1283,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1303,7 +1303,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1323,7 +1323,7 @@ var Logo = {
|
|||||||
"h": 262.24719101123594,
|
"h": 262.24719101123594,
|
||||||
"s": 60.544217687074834,
|
"s": 60.544217687074834,
|
||||||
"l": 28.82352941176471,
|
"l": 28.82352941176471,
|
||||||
"a": 1
|
"a": 0.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -26,6 +26,25 @@
|
|||||||
background-size:cover;
|
background-size:cover;
|
||||||
background-position:50% 50%;
|
background-position:50% 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jumbotron-content:after {
|
||||||
|
content:'';
|
||||||
|
display:block;
|
||||||
|
position:absolute;
|
||||||
|
top:50%;
|
||||||
|
left:50%;
|
||||||
|
background:url(../images/logo-static.png);
|
||||||
|
|
||||||
|
-webkit-background-size:100% 100%;
|
||||||
|
-moz-background-size:100% 100%;
|
||||||
|
-ms-background-size:100% 100%;
|
||||||
|
-o-background-size:100% 100%;
|
||||||
|
background-size:100% 100%;
|
||||||
|
|
||||||
|
width:360px;
|
||||||
|
height:360px;
|
||||||
|
margin:-204px 0 0 -180px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.terraform-canvas {
|
.terraform-canvas {
|
||||||
|
@ -607,6 +607,22 @@ body.page-home #footer {
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
}
|
}
|
||||||
|
#jumbotron.static .jumbotron-content:after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
background: url(../images/logo-static.png);
|
||||||
|
-webkit-background-size: 100% 100%;
|
||||||
|
-moz-background-size: 100% 100%;
|
||||||
|
-ms-background-size: 100% 100%;
|
||||||
|
-o-background-size: 100% 100%;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
width: 360px;
|
||||||
|
height: 360px;
|
||||||
|
margin: -204px 0 0 -180px;
|
||||||
|
}
|
||||||
#jumbotron .terraform-canvas {
|
#jumbotron .terraform-canvas {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user