| Author | Dave Jarvis <email> |
|---|---|
| Date | 2014-11-21 13:56:12 GMT-0800 |
| Commit | 74df10b8b15ddb931124affdb88ef2c6f09cec60 |
| Parent | ffce509 |
| +hColumns/ | ||
| -@import url( "related.css" ); | ||
| -@import url( "xref.css" ); | ||
| - | ||
| -.account::before { | ||
| - content: "Account"; | ||
| - | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-size: 2em; | ||
| - font-weight: bold; | ||
| -} | ||
| - | ||
| -.account { | ||
| - margin-bottom: 0.5em; | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.account > .implications { | ||
| - display: table; | ||
| - border-top: 1px solid black; | ||
| - padding-top: 0.5em; | ||
| -} | ||
| - | ||
| -.implications > .entry, .implications > .header { | ||
| - display: table-row; | ||
| -} | ||
| - | ||
| -.implications > * > * { | ||
| - display: table-cell; | ||
| - padding: 0.25em; | ||
| -} | ||
| - | ||
| -.implications > .entry:nth-child(odd) { | ||
| - display: table-row; | ||
| - background-color: #EEE; | ||
| -} | ||
| - | ||
| -.implications > .header { | ||
| - background-color: black; | ||
| - color: white; | ||
| - font-weight: bold; | ||
| -} | ||
| - | ||
| -.implications > .entry > .timestamp > * { | ||
| - display: table-cell; | ||
| - padding-right: 0.25em; | ||
| -} | ||
| - | ||
| -.implications > .entry > .policy, | ||
| -.implications > .entry > .timestamp > .date { | ||
| - white-space: nowrap; | ||
| -} | ||
| - | ||
| -.related > .implications { order: 1; } | ||
| -.related > .interests { order: 2; } | ||
| -.related > .edits { order: 3; } | ||
| -.related > .policies { order: 4; } | ||
| -.related > .votes { order: 5; } | ||
| -.related > .views { order: 6; } | ||
| -.related > .flags { order: 7; } | ||
| - | ||
| -.related > *::after { | ||
| - content: "|"; | ||
| - padding-right: 3px; | ||
| -} | ||
| - | ||
| -.related > .flags::after { | ||
| - content: ""; | ||
| - padding-right: 0; | ||
| -} | ||
| - | ||
| -.implications > a::before { content: "implications"; } | ||
| -.interests > a::before { content: "interests"; } | ||
| -.edits > a::before { content: "edits"; } | ||
| -.policies > a::before { content: "proposals"; } | ||
| -.votes > a::before { content: "votes"; } | ||
| -.views > a::before { content: "views"; } | ||
| -.flags > a::before { content: "flags"; } | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -@import url(//reset5.googlecode.com/hg/reset.min.css); | ||
| - | ||
| -body { | ||
| - margin-top: 0.5em; | ||
| - margin-left: auto; | ||
| - margin-right: auto; | ||
| - width: 800px; | ||
| - | ||
| - font-family: 'Open Sans', sans-serif; | ||
| -} | ||
| - | ||
| -.paragraph { | ||
| - line-height: 120%; | ||
| -} | ||
| - | ||
| -.title { | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-size: 2em; | ||
| - font-weight: bold; | ||
| - padding-bottom: 0.2em; | ||
| -} | ||
| <title>Liberum Consilium: moderated, transparent deliberation</title> | ||
| - <link rel="stylesheet" type="text/css" | ||
| - href="common.css"/> | ||
| + <link rel="stylesheet" type="text/css" href="css/common.css"/> | ||
| <link rel="stylesheet" type="text/css" | ||
| href="//fonts.googleapis.com/css?family=Open+Sans"/> | ||
| <link rel="stylesheet" type="text/css" | ||
| href="//fonts.googleapis.com/css?family=Montserrat"/> | ||
| <script type="text/javascript"> | ||
| var file = location.pathname.split( "/" ).pop(); | ||
| var link = document.createElement( "link" ); | ||
| -link.href = file.substr( 0, file.lastIndexOf( "." ) ) + ".css"; | ||
| +link.href = "css/" + file.substr( 0, file.lastIndexOf( "." ) ) + ".css"; | ||
| link.type = "text/css"; | ||
| link.rel = "stylesheet"; | ||
| link.media = "all"; | ||
| document.getElementsByTagName( "head" )[0].appendChild( link ); | ||
| </script> | ||
| </head> | ||
| <body> | ||
| <xsl:apply-templates/> | ||
| + | ||
| + <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
| + <script src="hColumns/js/jquery.hcolumns.min.js"></script> | ||
| </body> | ||
| </html> |
| +@import url( "related.css" ); | ||
| +@import url( "xref.css" ); | ||
| + | ||
| +.account::before { | ||
| + content: "Account"; | ||
| + | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-size: 2em; | ||
| + font-weight: bold; | ||
| +} | ||
| + | ||
| +.account { | ||
| + margin-bottom: 0.5em; | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.account > .implications { | ||
| + display: table; | ||
| + border-top: 1px solid black; | ||
| + padding-top: 0.5em; | ||
| +} | ||
| + | ||
| +.implications > .entry, .implications > .header { | ||
| + display: table-row; | ||
| +} | ||
| + | ||
| +.implications > * > * { | ||
| + display: table-cell; | ||
| + padding: 0.25em; | ||
| +} | ||
| + | ||
| +.implications > .entry:nth-child(odd) { | ||
| + display: table-row; | ||
| + background-color: #EEE; | ||
| +} | ||
| + | ||
| +.implications > .header { | ||
| + background-color: black; | ||
| + color: white; | ||
| + font-weight: bold; | ||
| +} | ||
| + | ||
| +.implications > .entry > .timestamp > * { | ||
| + display: table-cell; | ||
| + padding-right: 0.25em; | ||
| +} | ||
| + | ||
| +.implications > .entry > .policy, | ||
| +.implications > .entry > .timestamp > .date { | ||
| + white-space: nowrap; | ||
| +} | ||
| + | ||
| +.related > .implications { order: 1; } | ||
| +.related > .interests { order: 2; } | ||
| +.related > .edits { order: 3; } | ||
| +.related > .policies { order: 4; } | ||
| +.related > .votes { order: 5; } | ||
| +.related > .views { order: 6; } | ||
| +.related > .flags { order: 7; } | ||
| + | ||
| +.related > *::after { | ||
| + content: "|"; | ||
| + padding-right: 3px; | ||
| +} | ||
| + | ||
| +.related > .flags::after { | ||
| + content: ""; | ||
| + padding-right: 0; | ||
| +} | ||
| + | ||
| +.implications > a::before { content: "implications"; } | ||
| +.interests > a::before { content: "interests"; } | ||
| +.edits > a::before { content: "edits"; } | ||
| +.policies > a::before { content: "proposals"; } | ||
| +.votes > a::before { content: "votes"; } | ||
| +.views > a::before { content: "views"; } | ||
| +.flags > a::before { content: "flags"; } | ||
| +@import url(//reset5.googlecode.com/hg/reset.min.css); | ||
| + | ||
| +body { | ||
| + margin-top: 0.5em; | ||
| + margin-left: auto; | ||
| + margin-right: auto; | ||
| + width: 800px; | ||
| + | ||
| + font-family: 'Open Sans', sans-serif; | ||
| +} | ||
| + | ||
| +.paragraph { | ||
| + line-height: 120%; | ||
| +} | ||
| + | ||
| +.title { | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-size: 2em; | ||
| + font-weight: bold; | ||
| + padding-bottom: 0.2em; | ||
| +} | ||
| +@import url( "edit-discuss-flag.css" ); | ||
| +@import url( "xref.css" ); | ||
| + | ||
| +.summary, .policy { | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.title, .policy { | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.implications::before { | ||
| + font-size: 1.1em; | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-weight: bold; | ||
| + text-align: middle; | ||
| + | ||
| + content: "Implications"; | ||
| +} | ||
| + | ||
| +.implication { | ||
| + margin-left: 1em; | ||
| +} | ||
| + | ||
| +.support { | ||
| + float: left; | ||
| + margin-right: 0.5em; | ||
| +} | ||
| + | ||
| +.support > a::before { | ||
| + content: "▶"; | ||
| +} | ||
| + | ||
| +.votes { | ||
| + display: none; | ||
| +} | ||
| + | ||
| +.implication, .implications, .counter { | ||
| + margin-top: 0.5em; | ||
| +} | ||
| + | ||
| +.counter { | ||
| + margin-left: 1.5em; | ||
| +} | ||
| + | ||
| +.counter > .support::after { | ||
| + content: " [Debated]"; | ||
| + font-weight: bold; | ||
| + font-size: .75em; | ||
| +} | ||
| + | ||
| +.related > .implicate > a::before { content: "implication"; } | ||
| +.related > .refute > a::before { content: "refutation"; } | ||
| +@import url( "related.css" ); | ||
| + | ||
| +.related > .edit { order: 1; } | ||
| +.related > .discuss { order: 2; } | ||
| +.related > .flag { order: 3; } | ||
| + | ||
| +.related > *::after { | ||
| + content: "|"; | ||
| + padding-right: 3px; | ||
| +} | ||
| + | ||
| +.related > .flag::after { | ||
| + content: ""; | ||
| + padding-right: 0; | ||
| +} | ||
| + | ||
| +.related > .discuss > a::before { content: "discuss"; } | ||
| +.related > .edit > a::before { content: "edit"; } | ||
| +.related > .flag > a::before { content: "flag"; } | ||
| +@import url( "edit-discuss-flag.css" ); | ||
| +@import url( "xref.css" ); | ||
| + | ||
| +.policy { | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.policy, .title { | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.paragraph { | ||
| + margin-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.hypotheses > .general::before { | ||
| + content: "General Hypothesis"; | ||
| +} | ||
| + | ||
| +.hypotheses > .directional::before { | ||
| + content: "Directional Hypothesis"; | ||
| +} | ||
| + | ||
| +.hypotheses > .measurable::before { | ||
| + content: "Measurable Hypothesis"; | ||
| +} | ||
| + | ||
| +.hypotheses > *::before { | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-size: 1.2em; | ||
| + font-weight: bold; | ||
| +} | ||
| + | ||
| +.hypotheses > * > .paragraph { | ||
| + padding-top: 0.5em; | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| +.policies { | ||
| + display: flex; | ||
| + flex-direction: column; | ||
| +} | ||
| + | ||
| +.policy { | ||
| + display: flex; | ||
| + flex-direction: row; | ||
| + margin-bottom: 1em; | ||
| +} | ||
| + | ||
| +.statistics { | ||
| + order: 1; | ||
| +} | ||
| + | ||
| +.activation { | ||
| + order: 2; | ||
| +} | ||
| + | ||
| +.summary { | ||
| + order: 3; | ||
| +} | ||
| + | ||
| +.statistics, .activation { | ||
| + display: flex; | ||
| + flex-direction: column; | ||
| + align-items: flex-end; | ||
| + | ||
| + font-size: 0.8em; | ||
| + padding-right: 0.5em; | ||
| +} | ||
| + | ||
| +.statistics { | ||
| + width: 9%; | ||
| +} | ||
| + | ||
| +.activation { | ||
| + width: 10%; | ||
| +} | ||
| + | ||
| +.title { | ||
| + font-size: 1em; | ||
| + font-weight: normal; | ||
| +} | ||
| + | ||
| +.title, .tags { | ||
| + padding-left: 10px; | ||
| +} | ||
| + | ||
| +.title > a { | ||
| + text-decoration: none; | ||
| + | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-size: 1.25em; | ||
| + color: #46A5E5; | ||
| +} | ||
| + | ||
| +.tags { | ||
| + display: inline-flex; | ||
| + font-size: 0.8em; | ||
| + color: #B93507; | ||
| +} | ||
| + | ||
| +/** Separate tags using horizontal bars. */ | ||
| +.tag::after { | ||
| + content: "|"; | ||
| + padding-left: 5px; | ||
| + padding-right: 5px; | ||
| +} | ||
| +.tag:last-child:after { content: ""; } | ||
| + | ||
| +.votes::after { content: " votes "; } | ||
| +.views::after { content: " views "; } | ||
| +.part > .title, .section > .title { | ||
| + margin-top: 0.75em; | ||
| +} | ||
| + | ||
| +.part > .title { | ||
| + font-size: 1.5em; | ||
| +} | ||
| + | ||
| +.section > .title { | ||
| + font-size: 1.2em; | ||
| +} | ||
| + | ||
| +.parts { | ||
| + list-style-type: decimal; | ||
| + counter-reset: partList; | ||
| +} | ||
| + | ||
| +.part > .title::before { | ||
| + counter-increment: partList; | ||
| + content: "Part " counter( partList, decimal ) " - "; | ||
| +} | ||
| + | ||
| +.sections { | ||
| + list-style-type: decimal; | ||
| + counter-reset: sectionList; | ||
| +} | ||
| + | ||
| +.section > .title::before { | ||
| + counter-increment: sectionList; | ||
| + content: "Section " | ||
| + counter( partList, decimal ) "." | ||
| + counter( sectionList, decimal ) " - "; | ||
| +} | ||
| + | ||
| +.list { | ||
| + list-style-type: decimal; | ||
| + counter-reset: contentList; | ||
| +} | ||
| + | ||
| +.list > .item::before { | ||
| + counter-increment: contentList; | ||
| + content: "(" counter( contentList, decimal ) ") "; | ||
| +} | ||
| + | ||
| +.list > .item { | ||
| + margin-top: 0.5em; | ||
| + margin-left: 1.25em; | ||
| + line-height: 120%; | ||
| +} | ||
| +@import url( "edit-discuss-flag.css" ); | ||
| +@import url( "xref.css" ); | ||
| +@import url( "parts.css" ); | ||
| + | ||
| +.policy, .tags { | ||
| + margin-bottom: 0.5em; | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.activation { | ||
| + display: flex; | ||
| + flex-direction: row; | ||
| + margin-top: 0.5em; | ||
| + | ||
| + justify-content: flex-end; | ||
| +} | ||
| + | ||
| +.date::before { | ||
| + content: "Activation: "; | ||
| +} | ||
| + | ||
| +.time::before { | ||
| + content: "\00a0 at\00a0"; | ||
| +} | ||
| + | ||
| +.tags { | ||
| + width: 100%; | ||
| +} | ||
| + | ||
| +.paragraph { | ||
| + padding-top: 0.5em; | ||
| + line-height: 120%; | ||
| +} | ||
| + | ||
| +.tags { | ||
| + display: inline-flex; | ||
| + font-size: 0.8em; | ||
| + color: #B93507; | ||
| +} | ||
| + | ||
| +/** Separate tags using horizontal bars. */ | ||
| +.tag::after { | ||
| + content: "|"; | ||
| + padding-left: 5px; | ||
| + padding-right: 5px; | ||
| +} | ||
| +.tag:last-child:after { content: ""; } | ||
| +.related { | ||
| + display: flex; | ||
| + justify-content: flex-end; | ||
| + | ||
| + padding-top: 0.5em; | ||
| + width: 100%; | ||
| +} | ||
| + | ||
| +.related > div { | ||
| + display: inline; | ||
| + color: #333; | ||
| +} | ||
| + | ||
| +.related > div > a { | ||
| + padding-right: 5px; | ||
| + color: #46A5E5; | ||
| +} | ||
| +@import url( "edit-discuss-flag.css" ); | ||
| +@import url( "xref.css" ); | ||
| +@import url( "parts.css" ); | ||
| +@import url( "table.css" ); | ||
| + | ||
| +.policy { | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| + margin-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.summary > .title { | ||
| + border-bottom: 1px solid black; | ||
| + margin-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.chart { | ||
| + display: flex; | ||
| + flex-direction: row; | ||
| +} | ||
| + | ||
| +/* Add some whitespace between left-edge and legend table. */ | ||
| +div.graph { | ||
| + padding-left: 2em; | ||
| + width: 35%; | ||
| +} | ||
| + | ||
| +.paragraph { | ||
| + line-height: 120%; | ||
| + margin-top: 0.5em; | ||
| +} | ||
| + | ||
| +.bullet { | ||
| + margin-right:0.5em; | ||
| + padding-bottom:0.1em; | ||
| + | ||
| + width:1ex; | ||
| + height:1ex; | ||
| + display: inline-block; | ||
| +} | ||
| + | ||
| +.overview { | ||
| + margin-top: 1em; | ||
| +} | ||
| +@import url( "related.css" ); | ||
| +@import url( "xref.css" ); | ||
| + | ||
| +.summary, .paragraph, .votes > .pro { | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.synopsis { | ||
| + float: right; | ||
| + width: 90%; | ||
| +} | ||
| + | ||
| +.implications > .implication { | ||
| + line-height: 120%; | ||
| +} | ||
| + | ||
| +.tags { | ||
| + width: 100%; | ||
| + padding-bottom: 1em; | ||
| + | ||
| + font-size: 0.8em; | ||
| + color: #B93507; | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.tag { | ||
| + display: inline; | ||
| +} | ||
| + | ||
| +.tag::after { | ||
| + content: "|"; | ||
| + padding-left: 5px; | ||
| + padding-right: 3px; | ||
| +} | ||
| +.tag:last-child:after { content: ""; } | ||
| + | ||
| +.statistics { | ||
| + font-size: 0.8em; | ||
| +} | ||
| + | ||
| +.votes > .pro { | ||
| + color: #A1C436; | ||
| +} | ||
| + | ||
| +.votes > .con { | ||
| + color: #999; | ||
| +} | ||
| + | ||
| +.votes > .pro, .votes > .con { | ||
| + display: flex; | ||
| + flex-direction: column; | ||
| + align-items: center; | ||
| + font-size: 1.1em; | ||
| +} | ||
| + | ||
| +.votes > .pro::before { | ||
| + content: "▲"; | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.votes > .con::after { | ||
| + content: "▼"; | ||
| + padding-top: 0.5em; | ||
| +} | ||
| + | ||
| +.activation { | ||
| + display: none; | ||
| +} | ||
| + | ||
| +.implications::before { | ||
| + content: "Implications"; | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-size: 1.5em; | ||
| + font-weight: bold; | ||
| + text-align: middle; | ||
| +} | ||
| + | ||
| +.implications, .implication:nth-of-type(1) { | ||
| + margin-top: 0.5em; | ||
| +} | ||
| + | ||
| +.implication > .support { | ||
| + float: left; | ||
| + margin-right: 0.5em; | ||
| +} | ||
| + | ||
| +.implication > .support > a::before { | ||
| + content: "▶"; | ||
| +} | ||
| + | ||
| +.related { | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| + width: 100%; | ||
| +} | ||
| + | ||
| +.proposal { order: 1; } | ||
| +.resources { order: 2; } | ||
| +.hypothesis { order: 3; } | ||
| +.discuss { order: 4; } | ||
| +.flag { order: 5; } | ||
| + | ||
| +.proposal::after, .resources::after, .hypothesis::after, .discuss::after { | ||
| + content: "|"; | ||
| + padding-right: 3px; | ||
| +} | ||
| + | ||
| +.proposal > a::before { content: "proposal"; } | ||
| +.resources > a::before { content: "resources"; } | ||
| +.hypothesis > a::before { content: "hypothesis"; } | ||
| +.discuss > a::before { content: "implications"; } | ||
| +.flag > a::before { content: "flag"; } | ||
| +@import url( "edit-discuss-flag.css" ); | ||
| +@import url( "xref.css" ); | ||
| + | ||
| +.policy { | ||
| + padding-bottom: 0.5em; | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.implications::before { | ||
| + font-family: 'Montserrat', Helvetica, sans-serif; | ||
| + font-weight: bold; | ||
| +} | ||
| + | ||
| +.title { | ||
| + border-bottom: 1px solid black; | ||
| +} | ||
| + | ||
| +.implication > .title { | ||
| + font-size: 1.25em; | ||
| + border-bottom: none; | ||
| + line-height: 120%; | ||
| +} | ||
| + | ||
| +.implication { | ||
| + min-height: 2.5em; | ||
| + margin-left: 1em; | ||
| + margin-top: 0.5em; | ||
| +} | ||
| + | ||
| +.support { | ||
| + display: table; | ||
| +} | ||
| + | ||
| +.paragraph { | ||
| + padding-top: 0.5em; | ||
| + line-height: 120%; | ||
| +} | ||
| + | ||
| +.votes { | ||
| + float: left; | ||
| + margin-right: 1.5em; | ||
| +} | ||
| + | ||
| +.votes > .pro { | ||
| + color: #A1C436; | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.votes > .con { | ||
| + color: #999; | ||
| +} | ||
| + | ||
| +.votes > .pro, .votes > .con { | ||
| + display: flex; | ||
| + flex-direction: column; | ||
| + align-items: center; | ||
| +} | ||
| + | ||
| +.votes > .pro::before { | ||
| + content: "▲"; | ||
| + padding-bottom: 0.5em; | ||
| +} | ||
| + | ||
| +.votes > .con::after { | ||
| + content: "▼"; | ||
| + padding-top: 0.5em; | ||
| +} | ||
| + | ||
| +.related > .counter { order: 4; } | ||
| +.related > .counter > a::before { content: "counter"; } | ||
| + | ||
| +.related > .flag::after { | ||
| + content: "|"; | ||
| + padding-right: 3px; | ||
| +} | ||
| + | ||
| +.related > .counter::after { | ||
| + content: ""; | ||
| + padding-right: 0; | ||
| +} | ||
| +/** | ||
| + * Decorates the tabular data for the pie chart values. | ||
| + */ | ||
| +table.legend { | ||
| + margin-left: 2em; | ||
| + | ||
| + border: 1px solid #eee; | ||
| +} | ||
| + | ||
| +th, td { | ||
| + padding: 4px; | ||
| +} | ||
| + | ||
| +th { | ||
| + padding-bottom: 8px; | ||
| +} | ||
| + | ||
| +td.amount, td.percent { | ||
| + text-align: right; | ||
| +} | ||
| + | ||
| +td.amount { | ||
| + border-right: 1px solid #eee; | ||
| +} | ||
| + | ||
| +tr:nth-child(even) { | ||
| + background-color: #eee; | ||
| +} | ||
| + | ||
| +table.legend > thead > tr > * { | ||
| + color: white; | ||
| + background-color: black; | ||
| +} | ||
| + | ||
| +table.legend > tfoot { | ||
| + border-top: 3px double black; | ||
| +} | ||
| + | ||
| +table.legend > tfoot > tr > td.footer { | ||
| + text-align: right; | ||
| +} | ||
| + | ||
| +/** ********************************************************************** | ||
| + * | ||
| + * Reset | ||
| + * | ||
| + ************************************************************************/ | ||
| +h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
| +a, abbr, code, del, dfn, em, img, ins, kbd, q, s, samp, | ||
| +small, strong, sub, sup, var, | ||
| +b, u, i, center, | ||
| +dl, dt, dd, ol, ul, li, | ||
| +fieldset, form, label, legend, | ||
| +table, caption, tbody, tfoot, thead, tr, th, td, | ||
| +article, aside, canvas, details, embed, | ||
| +figure, figcaption, footer, header, hgroup { | ||
| + margin: 0; | ||
| + padding: 0; | ||
| + border: 0; | ||
| + font-size: 100%; | ||
| + font: inherit; | ||
| + vertical-align: baseline; | ||
| +} | ||
| +footer, header, hgroup, menu, nav, section { | ||
| + display: block; | ||
| +} | ||
| +body { | ||
| + line-height: 1; | ||
| +} | ||
| +ol, ul { | ||
| + list-style: none; | ||
| +} | ||
| +blockquote, q { | ||
| + quotes: none; | ||
| +} | ||
| +table { | ||
| + border-collapse: collapse; | ||
| + border-spacing: 0; | ||
| +} | ||
| + | ||
| +/** ********************************************************************** | ||
| + * | ||
| + * hColumns | ||
| + * | ||
| + ************************************************************************/ | ||
| + | ||
| +/* column view container */ | ||
| +.column-view-container { | ||
| + width: 100%; | ||
| + height: 400px; | ||
| + padding: 0; | ||
| + border: 1px solid #ccc; | ||
| + background: #FFF; | ||
| + display: block; | ||
| + overflow-x: auto; | ||
| + overflow-y: hidden; | ||
| +} | ||
| + | ||
| +/* the composition div for colums */ | ||
| +.column-view-composition { | ||
| + display: table; | ||
| + white-space: nowrap; | ||
| +} | ||
| + | ||
| +/**/ | ||
| +.column { | ||
| + display: table-cell; | ||
| + border-right: 1px solid #999; | ||
| +} | ||
| + | ||
| +.column:last-child { | ||
| + border-right: 0; | ||
| +} | ||
| + | ||
| +.column:only-child { | ||
| + border-right: 1px solid #999; | ||
| +} | ||
| + | ||
| +/* for error messages */ | ||
| +.column > p { | ||
| + margin: 10px; | ||
| + color: #666; | ||
| +} | ||
| + | ||
| +/* for column listing */ | ||
| +.column ul { | ||
| + margin: 0; | ||
| + padding: 0; | ||
| + height: 400px; | ||
| + width: 250px; | ||
| + overflow-y: auto; | ||
| + list-style: none; | ||
| +} | ||
| + | ||
| +.column ul li { | ||
| + position: relative; | ||
| + margin: 0; | ||
| + padding: 10px 20px 10px 10px; | ||
| + overflow: hidden; | ||
| + -o-text-overflow: ellipsis; /* pour Opera 9 */ | ||
| + text-overflow: ellipsis; /* pour le reste du monde */ | ||
| +} | ||
| + | ||
| +.column ul li:hover { | ||
| + cursor: pointer; | ||
| +} | ||
| + | ||
| +.column ul li i { | ||
| + position: absolute; | ||
| + top: 9px; | ||
| + right: 5px; | ||
| +} | ||
| + | ||
| +.column ul li:hover, .column ul li.active { | ||
| + background: #999999; | ||
| + color: #FFFFFF; | ||
| +} | ||
| + | ||
| +.column ul li:hover a, .column ul li.active a { | ||
| + color: #FFFFFF; | ||
| +} | ||
| + | ||
| +.column ul li.search { | ||
| + margin: 0; | ||
| + padding: 5px; | ||
| +} | ||
| + | ||
| +.column ul li.search input { | ||
| + width: 100%; | ||
| + margin: 0; | ||
| +} | ||
| + | ||
| +[class^="icon-"], [class*=" icon-"] { | ||
| + display: inline-block; | ||
| + width: 14px; | ||
| + height: 14px; | ||
| + margin-top: 1px; | ||
| + *margin-right: .3em; | ||
| + line-height: 14px; | ||
| + vertical-align: text-top; | ||
| + background-image: url("../img/glyphicons-halflings.png"); | ||
| + background-position: 14px 14px; | ||
| + background-repeat: no-repeat; | ||
| +} | ||
| + | ||
| +.icon-chevron-right { | ||
| + background-position: -456px -72px; | ||
| +} | ||
| + | ||
| +.icon-globe { | ||
| + background-position: -336px -144px; | ||
| +} | ||
| + | ||
| +.icon-file { | ||
| + background-position: -23px -24px; | ||
| +} | ||
| +a { | ||
| + text-decoration: none; | ||
| + font-weight: bold; | ||
| + color: #087ECB; | ||
| +} | ||
| + | ||
| +a:hover { | ||
| + color: #B93507; | ||
| +} | ||
| + | ||
| +div.header { | ||
| + text-align: center; | ||
| +} | ||
| + | ||
| +hr { | ||
| + background-color: #999; | ||
| + border: 0 none; | ||
| + color: #999; | ||
| + height: 1px; | ||
| +} | ||
| + | ||
| +a.page-prev { | ||
| + margin-right: 1em; | ||
| +} | ||
| + | ||
| +a.page-next::after { | ||
| + content: " →"; | ||
| +} | ||
| + | ||
| +a.page-prev::before { | ||
| + content: "← "; | ||
| +} | ||
| + | ||
| +a { | ||
| + text-decoration: none; | ||
| + color: #46A5E5; | ||
| +} | ||
| + | ||
| +.xref { | ||
| + display: inline; | ||
| +} | ||
| -@import url( "edit-discuss-flag.css" ); | ||
| -@import url( "xref.css" ); | ||
| - | ||
| -.summary, .policy { | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.title, .policy { | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.implications::before { | ||
| - font-size: 1.1em; | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-weight: bold; | ||
| - text-align: middle; | ||
| - | ||
| - content: "Implications"; | ||
| -} | ||
| - | ||
| -.implication { | ||
| - margin-left: 1em; | ||
| -} | ||
| - | ||
| -.support { | ||
| - float: left; | ||
| - margin-right: 0.5em; | ||
| -} | ||
| - | ||
| -.support > a::before { | ||
| - content: "▶"; | ||
| -} | ||
| - | ||
| -.votes { | ||
| - display: none; | ||
| -} | ||
| - | ||
| -.implication, .implications, .counter { | ||
| - margin-top: 0.5em; | ||
| -} | ||
| - | ||
| -.counter { | ||
| - margin-left: 1.5em; | ||
| -} | ||
| - | ||
| -.counter > .support::after { | ||
| - content: " [Debated]"; | ||
| - font-weight: bold; | ||
| - font-size: .75em; | ||
| -} | ||
| - | ||
| -.related > .implicate > a::before { content: "implication"; } | ||
| -.related > .refute > a::before { content: "refutation"; } | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -@import url( "related.css" ); | ||
| - | ||
| -.related > .edit { order: 1; } | ||
| -.related > .discuss { order: 2; } | ||
| -.related > .flag { order: 3; } | ||
| - | ||
| -.related > *::after { | ||
| - content: "|"; | ||
| - padding-right: 3px; | ||
| -} | ||
| - | ||
| -.related > .flag::after { | ||
| - content: ""; | ||
| - padding-right: 0; | ||
| -} | ||
| - | ||
| -.related > .discuss > a::before { content: "discuss"; } | ||
| -.related > .edit > a::before { content: "edit"; } | ||
| -.related > .flag > a::before { content: "flag"; } | ||
| -@import url( "edit-discuss-flag.css" ); | ||
| -@import url( "xref.css" ); | ||
| - | ||
| -.policy { | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.policy, .title { | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.paragraph { | ||
| - margin-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.hypotheses > .general::before { | ||
| - content: "General Hypothesis"; | ||
| -} | ||
| - | ||
| -.hypotheses > .directional::before { | ||
| - content: "Directional Hypothesis"; | ||
| -} | ||
| - | ||
| -.hypotheses > .measurable::before { | ||
| - content: "Measurable Hypothesis"; | ||
| -} | ||
| - | ||
| -.hypotheses > *::before { | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-size: 1.2em; | ||
| - font-weight: bold; | ||
| -} | ||
| - | ||
| -.hypotheses > * > .paragraph { | ||
| - padding-top: 0.5em; | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -.policies { | ||
| - display: flex; | ||
| - flex-direction: column; | ||
| -} | ||
| - | ||
| -.policy { | ||
| - display: flex; | ||
| - flex-direction: row; | ||
| - margin-bottom: 1em; | ||
| -} | ||
| - | ||
| -.statistics { | ||
| - order: 1; | ||
| -} | ||
| - | ||
| -.activation { | ||
| - order: 2; | ||
| -} | ||
| - | ||
| -.summary { | ||
| - order: 3; | ||
| -} | ||
| - | ||
| -.statistics, .activation { | ||
| - display: flex; | ||
| - flex-direction: column; | ||
| - align-items: flex-end; | ||
| - | ||
| - font-size: 0.8em; | ||
| - padding-right: 0.5em; | ||
| -} | ||
| - | ||
| -.statistics { | ||
| - width: 9%; | ||
| -} | ||
| - | ||
| -.activation { | ||
| - width: 10%; | ||
| -} | ||
| - | ||
| -.title { | ||
| - font-size: 1em; | ||
| - font-weight: normal; | ||
| -} | ||
| - | ||
| -.title, .tags { | ||
| - padding-left: 10px; | ||
| -} | ||
| - | ||
| -.title > a { | ||
| - text-decoration: none; | ||
| - | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-size: 1.25em; | ||
| - color: #46A5E5; | ||
| -} | ||
| - | ||
| -.tags { | ||
| - display: inline-flex; | ||
| - font-size: 0.8em; | ||
| - color: #B93507; | ||
| -} | ||
| - | ||
| -/** Separate tags using horizontal bars. */ | ||
| -.tag::after { | ||
| - content: "|"; | ||
| - padding-left: 5px; | ||
| - padding-right: 5px; | ||
| -} | ||
| -.tag:last-child:after { content: ""; } | ||
| - | ||
| -.votes::after { content: " votes "; } | ||
| -.views::after { content: " views "; } | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -.part > .title, .section > .title { | ||
| - margin-top: 0.75em; | ||
| -} | ||
| - | ||
| -.part > .title { | ||
| - font-size: 1.5em; | ||
| -} | ||
| - | ||
| -.section > .title { | ||
| - font-size: 1.2em; | ||
| -} | ||
| - | ||
| -.parts { | ||
| - list-style-type: decimal; | ||
| - counter-reset: partList; | ||
| -} | ||
| - | ||
| -.part > .title::before { | ||
| - counter-increment: partList; | ||
| - content: "Part " counter( partList, decimal ) " - "; | ||
| -} | ||
| - | ||
| -.sections { | ||
| - list-style-type: decimal; | ||
| - counter-reset: sectionList; | ||
| -} | ||
| - | ||
| -.section > .title::before { | ||
| - counter-increment: sectionList; | ||
| - content: "Section " | ||
| - counter( partList, decimal ) "." | ||
| - counter( sectionList, decimal ) " - "; | ||
| -} | ||
| - | ||
| -.list { | ||
| - list-style-type: decimal; | ||
| - counter-reset: contentList; | ||
| -} | ||
| - | ||
| -.list > .item::before { | ||
| - counter-increment: contentList; | ||
| - content: "(" counter( contentList, decimal ) ") "; | ||
| -} | ||
| - | ||
| -.list > .item { | ||
| - margin-top: 0.5em; | ||
| - margin-left: 1.25em; | ||
| - line-height: 120%; | ||
| -} | ||
| -@import url( "edit-discuss-flag.css" ); | ||
| -@import url( "xref.css" ); | ||
| -@import url( "parts.css" ); | ||
| - | ||
| -.policy, .tags { | ||
| - margin-bottom: 0.5em; | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.activation { | ||
| - display: flex; | ||
| - flex-direction: row; | ||
| - margin-top: 0.5em; | ||
| - | ||
| - justify-content: flex-end; | ||
| -} | ||
| - | ||
| -.date::before { | ||
| - content: "Activation: "; | ||
| -} | ||
| - | ||
| -.time::before { | ||
| - content: "\00a0 at\00a0"; | ||
| -} | ||
| - | ||
| -.tags { | ||
| - width: 100%; | ||
| -} | ||
| - | ||
| -.paragraph { | ||
| - padding-top: 0.5em; | ||
| - line-height: 120%; | ||
| -} | ||
| - | ||
| -.tags { | ||
| - display: inline-flex; | ||
| - font-size: 0.8em; | ||
| - color: #B93507; | ||
| -} | ||
| - | ||
| -/** Separate tags using horizontal bars. */ | ||
| -.tag::after { | ||
| - content: "|"; | ||
| - padding-left: 5px; | ||
| - padding-right: 5px; | ||
| -} | ||
| -.tag:last-child:after { content: ""; } | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -.related { | ||
| - display: flex; | ||
| - justify-content: flex-end; | ||
| - | ||
| - padding-top: 0.5em; | ||
| - width: 100%; | ||
| -} | ||
| - | ||
| -.related > div { | ||
| - display: inline; | ||
| - color: #333; | ||
| -} | ||
| - | ||
| -.related > div > a { | ||
| - padding-right: 5px; | ||
| - color: #46A5E5; | ||
| -} | ||
| -@import url( "edit-discuss-flag.css" ); | ||
| -@import url( "xref.css" ); | ||
| -@import url( "parts.css" ); | ||
| -@import url( "table.css" ); | ||
| - | ||
| -.policy { | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| - margin-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.summary > .title { | ||
| - border-bottom: 1px solid black; | ||
| - margin-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.chart { | ||
| - display: flex; | ||
| - flex-direction: row; | ||
| -} | ||
| - | ||
| -.paragraph { | ||
| - line-height: 120%; | ||
| - margin-top: 0.5em; | ||
| -} | ||
| - | ||
| -.bullet { | ||
| - margin-right:0.5em; | ||
| - padding-bottom:0.1em; | ||
| - | ||
| - width:1ex; | ||
| - height:1ex; | ||
| - display: inline-block; | ||
| -} | ||
| - | ||
| -.overview { | ||
| - margin-top: 1em; | ||
| -} | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -@import url( "related.css" ); | ||
| -@import url( "xref.css" ); | ||
| - | ||
| -.summary, .paragraph, .votes > .pro { | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.synopsis { | ||
| - float: right; | ||
| - width: 90%; | ||
| -} | ||
| - | ||
| -.implications > .implication { | ||
| - line-height: 120%; | ||
| -} | ||
| - | ||
| -.tags { | ||
| - width: 100%; | ||
| - padding-bottom: 1em; | ||
| - | ||
| - font-size: 0.8em; | ||
| - color: #B93507; | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.tag { | ||
| - display: inline; | ||
| -} | ||
| - | ||
| -.tag::after { | ||
| - content: "|"; | ||
| - padding-left: 5px; | ||
| - padding-right: 3px; | ||
| -} | ||
| -.tag:last-child:after { content: ""; } | ||
| - | ||
| -.statistics { | ||
| - font-size: 0.8em; | ||
| -} | ||
| - | ||
| -.votes > .pro { | ||
| - color: #A1C436; | ||
| -} | ||
| - | ||
| -.votes > .con { | ||
| - color: #999; | ||
| -} | ||
| - | ||
| -.votes > .pro, .votes > .con { | ||
| - display: flex; | ||
| - flex-direction: column; | ||
| - align-items: center; | ||
| - font-size: 1.1em; | ||
| -} | ||
| - | ||
| -.votes > .pro::before { | ||
| - content: "▲"; | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.votes > .con::after { | ||
| - content: "▼"; | ||
| - padding-top: 0.5em; | ||
| -} | ||
| - | ||
| -.activation { | ||
| - display: none; | ||
| -} | ||
| - | ||
| -.implications::before { | ||
| - content: "Implications"; | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-size: 1.5em; | ||
| - font-weight: bold; | ||
| - text-align: middle; | ||
| -} | ||
| - | ||
| -.implications, .implication:nth-of-type(1) { | ||
| - margin-top: 0.5em; | ||
| -} | ||
| - | ||
| -.implication > .support { | ||
| - float: left; | ||
| - margin-right: 0.5em; | ||
| -} | ||
| - | ||
| -.implication > .support > a::before { | ||
| - content: "▶"; | ||
| -} | ||
| - | ||
| -.related { | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| - width: 100%; | ||
| -} | ||
| - | ||
| -.proposal { order: 1; } | ||
| -.resources { order: 2; } | ||
| -.hypothesis { order: 3; } | ||
| -.discuss { order: 4; } | ||
| -.flag { order: 5; } | ||
| - | ||
| -.proposal::after, .resources::after, .hypothesis::after, .discuss::after { | ||
| - content: "|"; | ||
| - padding-right: 3px; | ||
| -} | ||
| - | ||
| -.proposal > a::before { content: "proposal"; } | ||
| -.resources > a::before { content: "resources"; } | ||
| -.hypothesis > a::before { content: "hypothesis"; } | ||
| -.discuss > a::before { content: "implications"; } | ||
| -.flag > a::before { content: "flag"; } | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -@import url( "edit-discuss-flag.css" ); | ||
| -@import url( "xref.css" ); | ||
| - | ||
| -.policy { | ||
| - padding-bottom: 0.5em; | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.implications::before { | ||
| - font-family: 'Montserrat', Helvetica, sans-serif; | ||
| - font-weight: bold; | ||
| -} | ||
| - | ||
| -.title { | ||
| - border-bottom: 1px solid black; | ||
| -} | ||
| - | ||
| -.implication > .title { | ||
| - font-size: 1.25em; | ||
| - border-bottom: none; | ||
| - line-height: 120%; | ||
| -} | ||
| - | ||
| -.implication { | ||
| - min-height: 2.5em; | ||
| - margin-left: 1em; | ||
| - margin-top: 0.5em; | ||
| -} | ||
| - | ||
| -.support { | ||
| - display: table; | ||
| -} | ||
| - | ||
| -.paragraph { | ||
| - padding-top: 0.5em; | ||
| - line-height: 120%; | ||
| -} | ||
| - | ||
| -.votes { | ||
| - float: left; | ||
| - margin-right: 1.5em; | ||
| -} | ||
| - | ||
| -.votes > .pro { | ||
| - color: #A1C436; | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.votes > .con { | ||
| - color: #999; | ||
| -} | ||
| - | ||
| -.votes > .pro, .votes > .con { | ||
| - display: flex; | ||
| - flex-direction: column; | ||
| - align-items: center; | ||
| -} | ||
| - | ||
| -.votes > .pro::before { | ||
| - content: "▲"; | ||
| - padding-bottom: 0.5em; | ||
| -} | ||
| - | ||
| -.votes > .con::after { | ||
| - content: "▼"; | ||
| - padding-top: 0.5em; | ||
| -} | ||
| - | ||
| -.related > .counter { order: 4; } | ||
| -.related > .counter > a::before { content: "counter"; } | ||
| - | ||
| -.related > .flag::after { | ||
| - content: "|"; | ||
| - padding-right: 3px; | ||
| -} | ||
| - | ||
| -.related > .counter::after { | ||
| - content: ""; | ||
| - padding-right: 0; | ||
| -} | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta charset="utf-8"> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css"> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css"> | ||
| </head> | ||
| <body> |
| -/** | ||
| - * Decorates the tabular data for the pie chart values. | ||
| - */ | ||
| -table.legend { | ||
| - margin-left: 2em; | ||
| - | ||
| - border: 1px solid #eee; | ||
| -} | ||
| - | ||
| -th, td { | ||
| - padding: 4px; | ||
| -} | ||
| - | ||
| -th { | ||
| - padding-bottom: 8px; | ||
| -} | ||
| - | ||
| -td.amount, td.percent { | ||
| - text-align: right; | ||
| -} | ||
| - | ||
| -td.amount { | ||
| - border-right: 1px solid #eee; | ||
| -} | ||
| - | ||
| -tr:nth-child(even) { | ||
| - background-color: #eee; | ||
| -} | ||
| - | ||
| -table.legend > thead > tr > * { | ||
| - color: white; | ||
| - background-color: black; | ||
| -} | ||
| - | ||
| -table.legend > tfoot { | ||
| - border-top: 3px double black; | ||
| -} | ||
| - | ||
| -table.legend > tfoot > tr > td.footer { | ||
| - text-align: right; | ||
| -} | ||
| - | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| - <link rel="stylesheet" type="text/css" href="tour.css" /> | ||
| + <link rel="stylesheet" type="text/css" href="css/tour.css" /> | ||
| </head> | ||
| <body> |
| -a { | ||
| - text-decoration: none; | ||
| - font-weight: bold; | ||
| - color: #087ECB; | ||
| -} | ||
| - | ||
| -a:hover { | ||
| - color: #B93507; | ||
| -} | ||
| - | ||
| -div.header { | ||
| - text-align: center; | ||
| -} | ||
| - | ||
| -hr { | ||
| - background-color: #999; | ||
| - border: 0 none; | ||
| - color: #999; | ||
| - height: 1px; | ||
| -} | ||
| - | ||
| -a.page-prev { | ||
| - margin-right: 1em; | ||
| -} | ||
| - | ||
| -a.page-next::after { | ||
| - content: " →"; | ||
| -} | ||
| - | ||
| -a.page-prev::before { | ||
| - content: "← "; | ||
| -} | ||
| - | ||
| -<?xml version="1.0" encoding="utf-8"?> | ||
| -<xsl:stylesheet version="1.0" | ||
| - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| - xmlns:json="http://json.org/"> | ||
| - | ||
| - <!-- | ||
| - XSLTJSON Lite v0.2 - Transform arbitrary XML to JSONML | ||
| - | ||
| - Licensed under the new BSD License. | ||
| - Copyright 2009, Bram Stein | ||
| - All rights reserved. | ||
| - --> | ||
| - <xsl:output indent="no" omit-xml-declaration="yes" method="text" encoding="utf-8"/> | ||
| - <xsl:strip-space elements="*"/> | ||
| - | ||
| - <json:search name="string"> | ||
| - <json:replace src="\" dst="\\"/> | ||
| - <json:replace src=""" dst="\""/> | ||
| - <json:replace src="
" dst="\n"/> | ||
| - <json:replace src="
" dst="\r"/> | ||
| - <json:replace src="	" dst="\t"/> | ||
| - <json:replace src="\n" dst="\n"/> | ||
| - <json:replace src="\r" dst="\r"/> | ||
| - <json:replace src="\t" dst="\t"/> | ||
| - </json:search> | ||
| - | ||
| - <xsl:template match="node()"> | ||
| - <xsl:text>[</xsl:text> | ||
| - | ||
| - <xsl:call-template name="encode-value"> | ||
| - <xsl:with-param name="value" select="name()"/> | ||
| - </xsl:call-template> | ||
| - | ||
| - <xsl:if test="@*"> | ||
| - <xsl:text>,</xsl:text> | ||
| - <xsl:text>{</xsl:text> | ||
| - <xsl:for-each select="@*"> | ||
| - <xsl:apply-templates select="."/> | ||
| - <xsl:if test="position() != last()"> | ||
| - <xsl:text>,</xsl:text> | ||
| - </xsl:if> | ||
| - </xsl:for-each> | ||
| - <xsl:text>}</xsl:text> | ||
| - </xsl:if> | ||
| - <xsl:if test="node()"> | ||
| - <xsl:text>,</xsl:text> | ||
| - <xsl:for-each select="node()"> | ||
| - <xsl:apply-templates select="."/> | ||
| - <xsl:if test="position() != last()"> | ||
| - <xsl:text>,</xsl:text> | ||
| - </xsl:if> | ||
| - </xsl:for-each> | ||
| - </xsl:if> | ||
| - <xsl:text>]</xsl:text> | ||
| - </xsl:template> | ||
| - | ||
| - <xsl:template match="text()" priority="10"> | ||
| - <xsl:call-template name="encode-value"> | ||
| - <xsl:with-param name="value" select="."/> | ||
| - </xsl:call-template> | ||
| - </xsl:template> | ||
| - | ||
| - <xsl:template match="@*"> | ||
| - <xsl:call-template name="encode-value"> | ||
| - <xsl:with-param name="value" select="name()"/> | ||
| - </xsl:call-template> | ||
| - <xsl:text>:</xsl:text> | ||
| - <xsl:call-template name="encode-value"> | ||
| - <xsl:with-param name="value" select="."/> | ||
| - </xsl:call-template> | ||
| - </xsl:template> | ||
| - | ||
| - <xsl:template name="replace-string"> | ||
| - <xsl:param name="input"/> | ||
| - <xsl:param name="src"/> | ||
| - <xsl:param name="dst"/> | ||
| - <xsl:choose> | ||
| - <xsl:when test="contains($input, $src)"> | ||
| - <xsl:value-of select="concat(substring-before($input, $src), $dst)"/> | ||
| - <xsl:call-template name="replace-string"> | ||
| - <xsl:with-param name="input" select="substring-after($input, $src)"/> | ||
| - <xsl:with-param name="src" select="$src"/> | ||
| - <xsl:with-param name="dst" select="$dst"/> | ||
| - </xsl:call-template> | ||
| - </xsl:when> | ||
| - <xsl:otherwise> | ||
| - <xsl:value-of select="$input"/> | ||
| - </xsl:otherwise> | ||
| - </xsl:choose> | ||
| - </xsl:template> | ||
| - | ||
| - <xsl:template name="encode"> | ||
| - <xsl:param name="input"/> | ||
| - <xsl:param name="index">1</xsl:param> | ||
| - | ||
| - <xsl:variable name="text"> | ||
| - <xsl:call-template name="replace-string"> | ||
| - <xsl:with-param name="input" select="$input"/> | ||
| - <xsl:with-param name="src" select="document('')//json:search/json:replace[$index]/@src"/> | ||
| - <xsl:with-param name="dst" select="document('')//json:search/json:replace[$index]/@dst"/> | ||
| - </xsl:call-template> | ||
| - </xsl:variable> | ||
| - | ||
| - <xsl:choose> | ||
| - <xsl:when test="$index < count(document('')//json:search/json:replace)"> | ||
| - <xsl:call-template name="encode"> | ||
| - <xsl:with-param name="input" select="$text"/> | ||
| - <xsl:with-param name="index" select="$index + 1"/> | ||
| - </xsl:call-template> | ||
| - </xsl:when> | ||
| - <xsl:otherwise> | ||
| - <xsl:value-of select="$text"/> | ||
| - </xsl:otherwise> | ||
| - </xsl:choose> | ||
| - </xsl:template> | ||
| - | ||
| - <xsl:template name="encode-value"> | ||
| - <xsl:param name="value"/> | ||
| - <xsl:choose> | ||
| - <xsl:when test="(normalize-space($value) != $value or string(number($value)) = 'NaN' or (substring($value , string-length($value), 1) = '.') or (substring($value, 1, 1) = '0') and not($value = '0')) and not($value = 'false') and not($value = 'true') and not($value = 'null')"> | ||
| - <xsl:text>"</xsl:text> | ||
| - <xsl:call-template name="encode"> | ||
| - <xsl:with-param name="input" select="$value"/> | ||
| - </xsl:call-template> | ||
| - <xsl:text>"</xsl:text> | ||
| - </xsl:when> | ||
| - <xsl:otherwise> | ||
| - <xsl:value-of select="$value"/> | ||
| - </xsl:otherwise> | ||
| - </xsl:choose> | ||
| - </xsl:template> | ||
| -</xsl:stylesheet> | ||
| -a { | ||
| - text-decoration: none; | ||
| - color: #46A5E5; | ||
| -} | ||
| - | ||
| -.xref { | ||
| - display: inline; | ||
| -} | ||
| Delta | 884 lines added, 853 lines removed, 31-line increase |
|---|