You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
3.1 KiB
126 lines
3.1 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>@yield('title')</title>
|
|
|
|
<!-- Fonts -->
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans:400,700" rel="stylesheet">
|
|
|
|
<style>
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#container {
|
|
position: relative;
|
|
height: 100vh;
|
|
background-color: #f3f3f3;
|
|
}
|
|
|
|
#container .container {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.container {
|
|
max-width: 460px;
|
|
width: 100%;
|
|
text-align: center;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.container .code {
|
|
height: 158px;
|
|
line-height: 153px;
|
|
}
|
|
|
|
.container .code h1 {
|
|
font-family: 'Josefin Sans', sans-serif;
|
|
color: #222;
|
|
font-size: 220px;
|
|
letter-spacing: 10px;
|
|
margin: 0;
|
|
font-weight: 700;
|
|
text-shadow: 2px 2px 0 #c9c9c9, -2px -2px 0 #c9c9c9;
|
|
}
|
|
|
|
.container .code h1 > span {
|
|
text-shadow: 2px 2px 0 #198fd7, -2px -2px 0 #198fd7, 0 0 8px #198fe7;
|
|
}
|
|
|
|
.container p {
|
|
font-family: 'Josefin Sans', sans-serif;
|
|
color: #484848;
|
|
padding-top: 10px;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
margin-top: 0;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.container a {
|
|
font-family: 'Josefin Sans', sans-serif;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
background: transparent;
|
|
color: #484848;
|
|
border: 2px solid #484848;
|
|
display: inline-block;
|
|
padding: 10px 25px;
|
|
font-weight: 700;
|
|
-webkit-transition: 0.2s all;
|
|
transition: 0.2s all;
|
|
}
|
|
|
|
.container a:hover {
|
|
color: #198fd7;
|
|
border-color: #198fe7;
|
|
}
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
.container .code {
|
|
height: 122px;
|
|
line-height: 122px;
|
|
}
|
|
|
|
.container .code h1 {
|
|
font-size: 122px;
|
|
}
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<?php
|
|
$codeAsArray = str_split(app()->view->getSections()[ 'code' ]);
|
|
$codeAsArray[ 1 ] = '<span>'.$codeAsArray[ 1 ].'</span>';
|
|
$styledCode = implode('', $codeAsArray);
|
|
|
|
?>
|
|
<div id="container">
|
|
<div class="container">
|
|
<div class="code">
|
|
<h1>{!! $styledCode !!}</h1>
|
|
</div>
|
|
<p>@yield('message')</p>
|
|
<a href="https://contrai.io">home page</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|