1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 15:10:54 +00:00

- Moving <style> tag under <head> tag

This commit is contained in:
Odiel Leon 2013-09-25 23:22:35 -04:00
parent 20082d8568
commit 33ff8482f7

96
new.go
View File

@ -154,62 +154,62 @@ var indextpl = `<!DOCTYPE html>
<head> <head>
<title>Beego</title> <title>Beego</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<style type="text/css"> <style type="text/css">
body { body {
margin: 0px; margin: 0px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
color: rgb(51, 51, 51); color: rgb(51, 51, 51);
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
} }
.hero-unit { .hero-unit {
padding: 60px; padding: 60px;
margin-bottom: 30px; margin-bottom: 30px;
border-radius: 6px 6px 6px 6px; border-radius: 6px 6px 6px 6px;
} }
.container { .container {
width: 940px; width: 940px;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
} }
.row { .row {
margin-left: -20px; margin-left: -20px;
} }
h1 { h1 {
margin: 10px 0px; margin: 10px 0px;
font-family: inherit; font-family: inherit;
font-weight: bold; font-weight: bold;
text-rendering: optimizelegibility; text-rendering: optimizelegibility;
} }
.hero-unit h1 { .hero-unit h1 {
margin-bottom: 0px; margin-bottom: 0px;
font-size: 60px; font-size: 60px;
line-height: 1; line-height: 1;
letter-spacing: -1px; letter-spacing: -1px;
color: inherit; color: inherit;
} }
.description { .description {
padding-top: 5px; padding-top: 5px;
padding-left: 5px; padding-left: 5px;
font-size: 18px; font-size: 18px;
font-weight: 200; font-weight: 200;
line-height: 30px; line-height: 30px;
color: inherit; color: inherit;
} }
p { p {
margin: 0px 0px 10px; margin: 0px 0px 10px;
} }
</style> </style>
</head>
<body> <body>
<header class="hero-unit" style="background-color:#A9F16C"> <header class="hero-unit" style="background-color:#A9F16C">