8000 Updated example. · JavaScriptExpert/examples@86543c7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86543c7

Browse files
committed
Updated example.
1 parent 4c5881a commit 86543c7

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

themes/public/css/common.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
body { padding: 0; margin: 0; font-family: Arial; font-size: 14px; line-height: 20px; color: white; }
2+
h1 { text-align: center; font-size: 30px; margin: 50px 0; padding: 0; }
3+
div { font-size: 11px; }
4+
a { display: inline-block; position: relative; border: 3px solid white; border-radius: 4px; text-decoration: none; color: white; font-size: 20px; text-align: center; padding: 10px 20px; }
5+
p { text-align: center; }
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
body { padding: 0; margin: 0; font-family: Arial; font-size: 14px; line-height: 20px; background-color: #8CC152; color: white; }
2-
h1 { text-align: center; font-size: 30px; margin: 50px 0; padding: 0; }
3-
div { font-size: 11px; }
4-
5-
a { display: inline-block; position: relative; border: 3px solid white; border-radius: 4px; text-decoration: none; color: white; font-size: 20px; text-align: center; padding: 10px 20px; }
6-
p { text-align: center; }
1+
body { background-color: #8CC152; }

themes/themes/green/views/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1" />
1010
<meta name="robots" content="all,follow" />
1111
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
12-
@{import('meta', 'head', 'default.css')}
12+
@{import('meta', 'head', '~common.css', 'default.css')}
1313
</head>
1414
<body>
1515
<div>THEME: @{theme}</div>
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
body { padding: 0; margin: 0; font-family: Arial; font-size: 14px; line-height: 20px; background-color: #DA4453; color: white; }
2-
h1 { text-align: center; font-size: 30px; margin: 50px 0; padding: 0; }
3-
div { font-size: 11px; }
4-
5-
a { display: inline-block; position: relative; border: 3px solid white; border-radius: 4px; text-decoration: none; color: white; font-size: 20px; text-align: center; padding: 10px 20px; }
6-
p { text-align: center; }
1+
body { background-color: #DA4453; }

themes/themes/red/views/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="viewport" content="width=device-width, initial-scale=1" />
1010
<meta name="robots" content="all,follow" />
1111
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
12-
@{import('meta', 'head', 'default.css')}
12+
@{import('meta', 'head', '~common.css', 'default.css')}
1313
</head>
1414
<body>
1515
<div>THEME: @{theme}</div>

0 commit comments

Comments
 (0)
0