diff --git a/docs/schemaorg.css b/docs/schemaorg.css index 40ebfd31e9..2cca9f4d99 100644 --- a/docs/schemaorg.css +++ b/docs/schemaorg.css @@ -12,33 +12,23 @@ position: relative; } #mainContent { -/* margin: 0 50px 15px 50px; */ -padding-bottom: 5px; border-bottom: solid 1px #CCCCCC; text-align: left; } -#mainContent, #footer { - max-width: 960px; - min-width: 350px; - margin: 0 auto; -} #footer { text-align: right; font-size: x-small; } #mainContent, #footer, .wrapper { - max-width: 960px; - min-width: 350px; - margin: 0 auto !important; - padding: 0 40px; + margin: 0 auto !important; + padding: 0 0.5em; } /* -- general -- */ body { color: #3A4956; -font-size: 75%; font-family: "Lucida Grande" , "Lucida Sans Unicode" , Verdana, Tahoma, Arial, sans-serif; line-height: 160%; margin: 0; @@ -54,7 +44,7 @@ h1 font: bold 24px Helvetica, Arial, sans-serif; color: #990000; letter-spacing: -1px; -margin: 2em 0 0 0; +margin: 1em 0 0 0; } h2 { @@ -344,12 +334,6 @@ padding-top: 1em; float: right; padding: 10px 0; } -#mainContent, #footer, .wrapper { - max-width: 960px; - min-width: 350px; - margin: 0 auto !important; - padding: 0 40px; -} #sitename { max-width: 500px; min-width: auto; @@ -543,3 +527,19 @@ a.ext.ext-attic:hover { .tag { color: #000; } /* div, span, etc */ .atn { color: #000; } /* href, datetime, */ .custom { color: #660003; } /* itemscope, itemtype, etc,. */ + +@media (max-width: 640px) { + table.definition-table th, table.definition-table td { + display: inline-block; + } + table.definition-table br { + display: none; + } +} + +@media (min-width: 960px) { + #mainContent, #footer, .wrapper { + max-width: 960px; + padding: 0 1em; + } +} diff --git a/templates/developers.tpl b/templates/developers.tpl index 838eeb62f0..8288bc09c7 100644 --- a/templates/developers.tpl +++ b/templates/developers.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Schemas - schema.org + diff --git a/templates/full.tpl b/templates/full.tpl index 118db865a1..78f9140e94 100644 --- a/templates/full.tpl +++ b/templates/full.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Full Hierarchy - {{ sitename }} + diff --git a/templates/fullReleasePage.tpl b/templates/fullReleasePage.tpl index a9de84f3d1..bbb64f0489 100644 --- a/templates/fullReleasePage.tpl +++ b/templates/fullReleasePage.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Full Release Summary: Schema.org - {{requested_version}} - {{ releasedate }} + diff --git a/templates/genericTermPageHeader.tpl b/templates/genericTermPageHeader.tpl index 68462d62a9..b7531461a2 100644 --- a/templates/genericTermPageHeader.tpl +++ b/templates/genericTermPageHeader.tpl @@ -1,11 +1,11 @@ - + - {% include 'headtags.tpl' with context %} - + {% include 'headtags.tpl' with context %} {% if noindexpage %}{% endif %} {{ entry }} - {{ sitename }} + diff --git a/templates/homepage.tpl b/templates/homepage.tpl index 2ba21ac12c..c9a88a0c25 100644 --- a/templates/homepage.tpl +++ b/templates/homepage.tpl @@ -1,11 +1,12 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Home - {{ sitename }} + - + {% include 'basicPageHeader.tpl' with context %} diff --git a/templates/schemas.tpl b/templates/schemas.tpl index b14b20a5b9..130a289add 100644 --- a/templates/schemas.tpl +++ b/templates/schemas.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Schemas - schema.org + diff --git a/templates/siteDebug.tpl b/templates/siteDebug.tpl index 906e789d88..8262434f36 100644 --- a/templates/siteDebug.tpl +++ b/templates/siteDebug.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} - {{ sitename }} + diff --git a/templates/tocVersionPage.tpl b/templates/tocVersionPage.tpl index 21ba63aeb9..ef28434c72 100644 --- a/templates/tocVersionPage.tpl +++ b/templates/tocVersionPage.tpl @@ -1,8 +1,9 @@ - + -{% include 'headtags.tpl' with context %} + {% include 'headtags.tpl' with context %} Schema.org - Full Releases + diff --git a/templates/wrongExt.tpl b/templates/wrongExt.tpl index 16ec7c241b..bfc7ac2a30 100644 --- a/templates/wrongExt.tpl +++ b/templates/wrongExt.tpl @@ -1,9 +1,8 @@ - + - -{% include 'headtags.tpl' with context %} - + + {% include 'headtags.tpl' with context %} {{target}} defined in '{{ targetext }}' extention - {{ sitename }}