JSFiddle - React, Tailwind, and code Playground
by mqchen
HTML
<div class="login">
<h1 class="logo">Utdanningsdirektoratet</h1>
<h2 class="systemname">Privatskoleportalen</h2>
<!-- <a class="entrysection" href="/NySkole">
<span class="entrydesc">Søk om ny skole</span>
<span class="loginlink">Fyll ut søknad</span>
</a>-->
<!-- <a class="entrysection" href="/NySkole">
<span class="entrydesc">Søk om særskilt driftstillatelse</span>
<span class="loginlink">Fyll ut søknad</span>
</a>-->
<a class="entrysection" href="/Sikkerhet/LoggInn" title="Logg inn med samme brukernavn og passord som i Tilskuddsportalen">
<span class="entrydesc">Søk om endring ved godkjent skole</span>
<span class="loginlink">Logg inn</span>
</a>
</div>
CSS
body, html
{
font-family: Arial, sans-serif;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
text-align: center;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #dcdcdc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dcdcdc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#dcdcdc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#dcdcdc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#dcdcdc 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#dcdcdc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dcdcdc',GradientType=0 ); /* IE6-9 */
}
.login
{
height: 300px;
width: 100%;
position: relative;
top: 50%;
margin-top: -100px;
}
.logo, .systemname, .loginlink
{
display: block;
-webkit-font-smoothing: antialiased;
}
.logo
{
margin: 0 auto;
width: 100px;
height: 103px;
text-indent: 100%;
overflow: hidden;
white-space: nowrap;
background-image: url("../images/icon-small.png");
background-image: url("http://test.p.udir.no/Content/shared/images/icon-small.png"); /** TODO: REMOVE **/
}
.systemname
{
margin-top: 20px;
font-weight: normal;
color: #575757;
}
.loginlink
{
margin-top: 80px;
display: inline-block;
text-decoration: none;
padding: 15px 30px;
color: white;
border: 1px solid #aa2600;
border-radius: 3px;
background-clip: padding-box;
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.25);
box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.25);
background: #e24d07; /* Old browsers */
background: -moz-linear-gradient(top, #e24d07 0%, #ae2903 100%); /*...