<slf4j.version>1.5.8</slf4j.version>
<springframework.version>3.2.4.RELEASE</springframework.version>
<tiles.version>3.0.1</tiles.version>
- <wro4j.version>1.7.2</wro4j.version>
+ <wro4j.version>1.7.3-SNAPSHOT</wro4j.version>
</properties>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="${base}css/base.css" />
<style type="text/css">
- @import '${base}css/screen.css' screen and (min-width: 750px);
- @import '${base}css/tablet.css' screen and (min-width: 750px) and (max-width: 939px);
- @import '${base}css/phone.css' screen and (max-width: 599px);
- @import '${base}css/tiny.css' screen and (max-width: 399px);
+ @import '${base}css/screen.css' screen;
</style>
<script src="${base}js/base.js"></script>
<!--[if IE 8]>
<t:putAttribute name="htmlhead" type="string">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="${base}css/base.css" />
- <link rel="stylesheet/less" type="text/css" href="/less/screen/layout.less" />
- <script src="/js/less.js" type="text/javascript"></script>
+ <link rel="stylesheet" type="text/css" href="/css/seitenaufteilung.css" />
</t:putAttribute>
<t:putAttribute name="maincontent" type="string">
<p>
<t:putAttribute name="htmlhead" type="string">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="${base}css/base.css" />
- <link rel="stylesheet/less" type="text/css" href="/less/screen/head.less" />
- <script src="/js/less.js" type="text/javascript"></script>
+ <link rel="stylesheet" type="text/css" href="/css/seitenkopf.css" />
</t:putAttribute>
<t:putAttribute name="maincontent" type="string">
<p>
<t:putAttribute name="htmlhead" type="string">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="${base}css/base.css" />
- <link rel="stylesheet" type="text/css" href="${base}css/screen.css" />
<link rel="stylesheet" type="text/css" href="${base}css/tablet.css" />
</t:putAttribute>
<t:putAttribute name="maincontent" type="string">
<p>
Diese Seite bindet alle Styles ein, die für Tablets eingebunden
- werden (<code>/css/base.css</code>, <code>/css/screen.css</code> und
- <code>/css/tablet.css</code>).
+ werden (<code>/css/base.css</code> und <code>/css/tablet.css</code>).
</p>
<section>
<h1>Weitere Experimente</h1>
<groups xmlns="http://www.isdc.ro/wro">
<group name="base">
- <css>/less/base/browserreset.less</css>
- <css>/less/base/fonts.less</css>
- <css>/less/base/util.less</css>
- <css>/less/base/typo.less</css>
- <css>/less/base/head.less</css>
- <css>/less/base/navigation.less</css>
- <css>/less/base/content.less</css>
- <css>/less/base/prettify.less</css>
- <css>/less/base/marginal.less</css>
- <css>/less/base/footer.less</css>
- <css>/less/base/formulare.less</css>
+ <css>/less/base.less</css>
<js>/js/prettify.js</js>
</group>
<group name="screen">
+ <css>/less/screen.less</css>
+ <css>/less/tablet.less</css>
+ <css>/less/phone.less</css>
+ <css>/less/tiny.less</css>
+ </group>
+
+ <!-- Diese werden nur für die explizite Auswahl eines Stylings benötigt -->
+ <group name="tablet">
+ <css>/less/variables.less</css>
<css>/less/screen/typo.less</css>
<css>/less/screen/layout.less</css>
<css>/less/screen/head.less</css>
<css>/less/screen/navigation.less</css>
<css>/less/screen/marginal.less</css>
<css>/less/screen/footer.less</css>
- </group>
-
- <group name="tablet">
<css>/less/tablet/layout.less</css>
<css>/less/tablet/footer.less</css>
</group>
-
<group name="phone">
+ <css>/less/variables.less</css>
<css>/less/phone/typo.less</css>
<css>/less/phone/navigation.less</css>
</group>
-
<group name="tiny">
+ <css>/less/variables.less</css>
<css>/less/tiny/typo.less</css>
<css>/less/tiny/navigation.less</css>
</group>
+ <group name="seitenaufteilung">
+ <css>/less/variables.less</css>
+ <css>/less/screen/layout.less</css>
+ </group>
+ <group name="seitenkopf">
+ <css>/less/variables.less</css>
+ <css>/less/screen/head.less</css>
+ </group>
<group name="ie8">
<js>/js/html5shiv.js</js>
--- /dev/null
+@import 'variables.less';
+@import 'base/browserreset.less';
+@import 'base/fonts.less';
+@import 'base/util.less';
+@import 'base/typo.less';
+@import 'base/head.less';
+@import 'base/navigation.less';
+@import 'base/content.less';
+@import 'base/prettify.less';
+@import 'base/marginal.less';
+@import 'base/footer.less';
+@import 'base/formulare.less';
/** Formulare *****************************************************************/
-@import '../variables.less';
-
.form {
position: relative;
width: 100%;
-@import '../variables.less';
-
#header
{
.bpreplay;
-@import '../variables.less';
-
.marginal h1
{
font-size: 125%; /** 20 px */
/** Typografische Grundeinstellungen ******************************************/
-@import '../variables.less';
-
body
{
.droid;
--- /dev/null
+@media screen and (max-width: 599px)
+{
+ @import 'variables.less';
+ @import 'phone/typo.less';
+ @import 'phone/navigation.less';
+}
--- /dev/null
+@media screen and (min-width: 750px)
+{
+ @import 'variables.less';
+ @import 'screen/typo.less';
+ @import 'screen/layout.less';
+ @import 'screen/head.less';
+ @import 'screen/navigation.less';
+ @import 'screen/marginal.less';
+ @import 'screen/footer.less';
+}
-@import '../variables.less';
-
#footer
{
padding: 2em 0;
-@import '../variables.less';
-
#header
{
margin-left: -4em;
-@import '../variables.less';
-
body
{
padding: 0 3em 0 5em;
-@import '../variables.less';
-
#nav > hr
{
display: none;
--- /dev/null
+@media screen and (min-width: 750px) and (max-width: 939px)
+{
+ @import 'variables.less';
+ @import 'tablet/layout.less';
+ @import 'tablet/footer.less';
+}
-@import '../variables.less';
-
.cols_1 > #footer
{
margin: 0 0 0 -5em;
-@import '../variables.less';
-
body
{
padding: 0 0 0 5em;
--- /dev/null
+@media screen and (max-width: 399px)
+{
+ @import 'variables.less';
+ @import 'tiny/typo.less';
+ @import 'tiny/navigation.less';
+}