Difference between revisions of "TestPage"
Jump to navigation
Jump to search
(→MP Table, css in Common.css) |
(→MP Table, css inline) |
||
| Line 59: | Line 59: | ||
Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it. | Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it. | ||
<table class="vbox" style="float:right; clear:right; width:22em; margin:0 0 1.0em 1.0em; background:#f9f9f9; border:1px solid #9b301c; border-spacing:0.2em; padding:0.2em; text-align: center; line-height: 1.4em; font-size: 90%;"> | <table class="vbox" style="float:right; clear:right; width:22em; margin:0 0 1.0em 1.0em; background:#f9f9f9; border:1px solid #9b301c; border-spacing:0.2em; padding:0.2em; text-align: center; line-height: 1.4em; font-size: 90%;"> | ||
| − | <tr><th class="vbox- | + | <tr><th class="vbox-title" style="background-color:#d50000; border:1px solid #9b301c; color:#ffffff;"> |
<div class="vbox-title-lg" style="font-family:'Linux Libertine',Georgia,Times,serif; font-size:160%; line-height:1.2em; padding:0.2em;">Jared O'Mara</div> | <div class="vbox-title-lg" style="font-family:'Linux Libertine',Georgia,Times,serif; font-size:160%; line-height:1.2em; padding:0.2em;">Jared O'Mara</div> | ||
<div class="vbox-title-sm" style="padding-bottom:0.2em;">MP for Sheffield Hallam</div> | <div class="vbox-title-sm" style="padding-bottom:0.2em;">MP for Sheffield Hallam</div> | ||
| Line 74: | Line 74: | ||
<tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | <tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none; padding:0;"> | <div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none; padding:0;"> | ||
| − | <div class="vbox- | + | <div class="vbox-head" style="padding-top:0.4em; border-top:#9b301c 1px solid; border-bottom:#d54040 1px solid; background:linear-gradient(#d54040, #ffffff); font-size:105%; font-weight:bold; text-align:center;">Salary + Expenses</div> |
<div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | <div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | ||
<div class="vbox-cell" style="width:100%; display:inline-block; box-sizing:border-box; padding-left:2px;">'''Income'''</div> | <div class="vbox-cell" style="width:100%; display:inline-block; box-sizing:border-box; padding-left:2px;">'''Income'''</div> | ||
| Line 104: | Line 104: | ||
<tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | <tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none;padding:0"> | <div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none;padding:0"> | ||
| − | <div class="vbox- | + | <div class="vbox-head" style="padding-top:0.4em; border-top:#9b301c 1px solid; border-bottom:#d54040 1px solid; background:linear-gradient(#d54040, #ffffff); font-size:105%; font-weight:bold; text-align:center;">Parliamentary Record</div> |
<div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | <div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | ||
| − | <dl class=" | + | <dl class="vbox-dl"> |
<dt>Activity:</dt> | <dt>Activity:</dt> | ||
| − | <dd style="margin-left:1. | + | <dd style="margin-left:1.0em;">[https://www.theyworkforyou.com/mp/25636/jared_o%27mara/sheffield%2C_hallam#numerology They Work For You] – overview</dd> |
<dd>[http://www.publicwhip.org.uk/mp.php?mpn=Jared_O%26%2339%3BMara&mpc=Sheffield%2C_Hallam&house=commons&display=allvotes#divisions The Public Whip] – user-friendly</dd> | <dd>[http://www.publicwhip.org.uk/mp.php?mpn=Jared_O%26%2339%3BMara&mpc=Sheffield%2C_Hallam&house=commons&display=allvotes#divisions The Public Whip] – user-friendly</dd> | ||
<dt>Voting:</dt> | <dt>Voting:</dt> | ||
| Line 120: | Line 120: | ||
<tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | <tr class="vbox-fold"><td style="padding: 0 0.1em 0 0.1em;"> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none; padding:0"> | <div class="mw-collapsible mw-collapsed" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="border:none; padding:0"> | ||
| − | <div class="vbox- | + | <div class="vbox-head" style="padding-top:0.4em; border-top:#9b301c 1px solid; border-bottom:#d54040 1px solid; background:linear-gradient(#d54040, #ffffff); font-size:105%; font-weight:bold; text-align:center;">Contact</div> |
<div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | <div class="vbox-body mw-collapsible-content" style="font-size:105%; padding:0.2em 0px 0.4em; text-align:left;"> | ||
Party website: [https://vote.labour.org.uk/jared-omara Labour.org.uk] | Party website: [https://vote.labour.org.uk/jared-omara Labour.org.uk] | ||
| − | <dl class=" | + | <dl class="vbox-dl"> |
<dt>Constituency:</dt> | <dt>Constituency:</dt> | ||
| − | <dd | + | <dd style="margin-left:1.1em;">Redlands Business Centre, 3-5 Tapton House Road, Sheffield S10 5BY</dd> |
<dd>Tel: 0114-213-8150</dd> | <dd>Tel: 0114-213-8150</dd> | ||
<dt>Parliament:</dt> | <dt>Parliament:</dt> | ||
Revision as of 09:55, 12 February 2018
- This is a blank page used for testing stuff. It should be empty, unless there is a test in progress.
- Original table from here: https://en.wikipedia.org/wiki/Democratic_Federation_of_Northern_Syria#Politics
- Bugs: expand/collapse is really slow in comparison to the original, but is prolly 'cos I'm using pure css, not JQuery.
Bog-Standard Default Table
Rojava |
|---|
| This article is part of a series on the politics + government of Rojava |
| This is just some text to see how the spacings look. Some have compared this to the Lebanese system, which is based on major religions. |
|
|
|
|
|
|
MP Table, css inline
Note: the css to style the collapse links cannot be put in here, as the class name doesn't exist until JQuery injects it.
|
Jared O'Mara
MP for Sheffield Hallam
|
|---|
|
Tenure: Jun.2017 — present
Brexit stance: Remain
|
| O'Mara was elected at the snap 2017 General Election to represent the constituency of Sheffield Hallam, unexpectedly beating Nick Clegg by a majority of 2,125. |
|
Salary + Expenses
Income
Base salary:
£76,011 yearly
Other Income:
Expenses per IPSA, (Feb.2018)
Office costs:
£5,353.27
Accommodation:
£2,756.00
Travel:
£1,689.80
|
|
Parliamentary Record
|
|
Contact
Party website: Labour.org.uk
|
|
Wikipedia: Jared O'Mara
|
MP Table, css in Common.css
|
Jared O'Mara
MP for Sheffield Hallam
|
|---|
|
Tenure: Jun.2017 — present
Brexit stance: Remain
|
| O'Mara was elected at the snap 2017 General Election to represent the constituency of Sheffield Hallam, unexpectedly beating Nick Clegg by a majority of 2,125. |
|
Salary + Expenses
Income
Base salary:
£76,011 yearly
Other Income:
Expenses per IPSA, (Feb.2018)
Office costs:
£5,353.27
Accommodation:
£2,756.00
Travel:
£1,689.80
|
|
Parliamentary Record
|
|
Contact
Party website: Labour.org.uk
|
|
Wikipedia: Jared O'Mara
|
Party Colours
- Labour Ireland: bg: #d5000d + border: #920009 {from Labour.ie}
- Party colours from Richard Allen's blog
- Labour: bg #d50000 + border #9b301c
- Tories: bg #0087dc + border #6ed700
- LibDems: bg #fdbb30 + border #00929f
- SNP: bg #fff95d + border #0a2c50
- UKIP: bg #b3009d + border #efe600
- Greens: bg #8dc63f + border #008066
- Plaid Cymru: bg #3F8428 + border #e1cc00
- Govts (English, Scots, Welsh + NI) colours: http://richardallen.co.uk/ukpolcss/
