Main Page: Difference between revisions
From Ballotpedia
(Undid 1/17 revision at request of David B. - Joel W.) |
No edit summary |
||
| Line 1: | Line 1: | ||
< | {{#setmainimage:File:Filling_out_a_ballot.jpeg}} | ||
<metadesc>Ballotpedia is the digital encyclopedia of American politics and elections. Our goal is to inform people about politics by providing accurate and objective information about politics at all levels of government.</metadesc> | |||
<div class="Main-Page-Container container"><SkiplistFrontpage /></div> | |||
<css> | |||
.top-stories {box-shadow:none;} | |||
.list-group li { margin-bottom:15px!important;font-weight:400; } | |||
.item-link { | |||
padding-top: 15px; | |||
padding-left: 15px; | |||
padding-right: 15px; | |||
border:solid transparent 2px; | |||
} | |||
#trending-articles-headline { | |||
margin-left:10px; | |||
} | |||
#headline { | |||
margin-top:5px; | |||
} | |||
.Main-Page-Promo{ | |||
margin-top:25px; | |||
margin-left:25px; | |||
margin-right-25px; | |||
} | |||
.Main-Page-Trivia { | |||
margin-top:10px; | |||
margin-left:25px; | |||
margin-right-25px; | |||
} | |||
div.Main-Page-More-Columns.more-column { margin:left 20px auto; margin-top:0!important; float:left; } | |||
.Main-Page-Container .Main-Page-More-Header { margin:20px auto; } | |||
#main-sidebar-right { margin-top:2px;} | |||
.main-story-link { border-left:2px solid #CCC!important; } | |||
.main-story-link:first-child { border-left:0!important; } | |||
#top-story { border-bottom:2px solid #CCC; margin-bottom:16px; } | |||
.Main-Page-Tile-Title a { font-weight:bold!important; font-size:150%!important; color:#000!important; } | |||
.Main-Page-Tile-Title a:hover { text-decoration:none!important; } | |||
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol { margin: 0.3em 0 0 0.3em; } | |||
/* newsletter */ | |||
.Main-Page-Tile.medium.newsletter {box-shadow: 3px 3px 5px 1px #ccc; -webkit-box-shadow: 3px 3px 5px 1px #ccc; | |||
-moz-box-shadow: 3px 3px 5px 1px #ccc; } | |||
div.Main-Page-Tile medium newsletter {height:100px!important; } | |||
div.newsletter-title { margin-left:100px;padding:20px; } | |||
div.newsletter-date { height:100px;width:100px;margin:0.5em auto;color:white;float:left;text-align:center;font-size:120%;line-height:1.7em;padding-top:15px;opacity:.85 } | |||
div.Main-Page-Newsletter-Columns.newsletter-column {margin-top:0!important; } | |||
div.Main-Page-Newsletter-Columns.newsletter-column a:hover { text-decoration:none!important; } | |||
@media screen and (min-width:540px) { | |||
div.Main-Page-More-Columns.more-column { clear:none!important; } | |||
} | |||
div.newsletter-row { margin-bottom:-30px; } | |||
#siteNotice { | |||
display: none; | |||
} | |||
</css> | |||
< | <html> | ||
<script> | |||
< | |||
(window.RLQ=window.RLQ||[]).push(function(){ | |||
$( document ).ready(function() { | |||
$('#8').addClass('col-md-8'); | |||
$('#8').removeClass('col-sm-8'); | |||
//$('#8').css('padding-right', '50px'); | |||
$('#4').addClass('col-md-4'); | |||
$('#4').removeClass('col-sm-4'); | |||
$('#8 .container-fluid:nth-child(1) .url-class:nth-child(2) ').prependTo('#8 .container-fluid:nth-child(1) .item-link'); | |||
$('#8 .container-fluid:nth-child(1) .item-link').css('padding-top', '0'); | |||
// Move SB to top of page | |||
//$('#two-column-links').prependTo('#8'); | |||
$('#12-more-from .headline-class span').remove(); | |||
</ | $('#12-more-from .headline-class').append("<p style='padding-left: 6px'><span style='font-weight: 700; font-size: 28px; color: #0645AD'>EXPLORE MORE </span> <span style='font-weight: 400; font-size: 28px; color: #F0A236'>ON BALLOTPEDIA</span></p>"); | ||
// Remove after dev | |||
$('#firstHeading').hide(); | |||
}); | |||
}); | |||
< | </script> | ||
<style> | |||
@media screen and (min-width: 1190px), print and (min-width: 1190px){ | |||
#contentwrapper { | |||
width: calc(100% - 200px) !important; | |||
max-width: calc(100% - 200px) !important; | |||
left: 100px; | |||
} | |||
} | |||
@media screen and (min-width: 992px) { | |||
[id="8"] { | |||
padding-right: 50px; | |||
} | |||
} | |||
.title-large-class { | |||
color: #333; | |||
font-size: 32px; | |||
font-weight: 600; | |||
font-family: 'Libre Franklin', Helvetica, Arial, sans-serif; | |||
line-height: 1.2em; | |||
padding-bottom: 0; | |||
} | } | ||
.item-link { | |||
padding-top: 0; | |||
} | } | ||
.title-large-image { | |||
border: 1px solid #908B8B; | |||
} | } | ||
# | .title-image { | ||
margin-bottom: 10px; | |||
border: 1px solid #908B8B; | |||
} | |||
.title-class { | |||
font-weight: 500; | |||
} | |||
[id="4-1-main-story-link"], [id="4-2-main-story-link"], [id="4-3-main-story-link"] { | |||
margin-bottom: 15px; | |||
} | |||
# | .small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width: 300px; } | ||
# | @media screen and (max-width: 991px) { | ||
.small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width: auto; } | |||
.trending-articles-container { text-align: center; } | |||
.socials-container {justify-content: center;} | |||
.video-of-the-week-container, .poll-container-2 { margin-right: auto; margin-left: auto;} | |||
} | } | ||
. | @media screen and (max-width: 767px) { | ||
.small-signup-container, .trending-articles-container, #FrontPageRSS, #FrontPageUpcomingElections, .our-mission-container { width: auto; } | |||
.trending-articles-container { text-align: center; } | |||
.two-links-container { text-align: center } | |||
.title-large-class { font-size: 28px } | |||
.border-left { border: 1px solid white;} | |||
} | } | ||
. | #FrontPageRSS, .our-mission-container, #FrontPageUpcomingElections { | ||
margin-top: 40px; | |||
} | } | ||
[id="12-more-from"] { | |||
margin-top: 40px; | |||
} | } | ||
#FrontPageUpcomingElections { | |||
border-left: 5px solid #0645AD; | |||
} | } | ||
#FrontPageUpcomingElections button { | |||
background: #0645AD; | |||
border-radius: 4px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
padding: 4px; | |||
font-size: 12px; | |||
text-transform: uppercase; | |||
width: 100%; | |||
border: none !important; | |||
} | } | ||
. | #FrontPageUpcomingElections .election-description { | ||
font-size: 14px; | |||
} | } | ||
#FrontPageUpcomingElections table { | |||
padding-top: 10px; | |||
} | } | ||
. | [id="12-more-from"] div.headline-class { | ||
background: | background: none; | ||
text-align: left; | |||
margin-top: 10px; | |||
text-transform: uppercase; | |||
vertical-align: middle; | |||
padding: 5px 10px; | |||
margin: 5px 0px 5px 0px; | |||
min-width: 175px; | |||
width: 100% !important; | |||
line-height: 1.2em; | |||
margin-bottom: 0; | |||
padding-bottom: 0; | |||
} | } | ||
. | [id="12-more-from"] .caption-class { | ||
margin-bottom: 0 !important; | |||
} | } | ||
[id="12-more-from"] .item-link { | |||
margin-bottom: 10px !important; | |||
. | } | ||
</style> | |||
<script> | |||
. | $(".url-class").on('click', function(event){ | ||
let hrefURL = $(this).attr('href'); | |||
if (hrefURL.includes('Buy_Political_Data')) { | |||
ga('send', 'event', 'Data Sales', 'Data Sales Frontpage Tile Click'); | |||
} | |||
}); | |||
</script> | |||
<script> | |||
. | $('#4-1-main-story-link').on('click', '.url-class', function(event){ | ||
let hrefURL = $(this).attr('href'); | |||
const url = new URL(hrefURL); | |||
const path = url.pathname.substring(1); | |||
ga('send', 'event', 'FPTileTracking', 'First tile click'); | |||
}); | |||
</script> | |||
</ | <script> | ||
$(".url-class").on('click', function(event){ | |||
let hrefURL = $(this).attr('href'); | |||
const url = new URL(hrefURL); | |||
const path = url.pathname.substring(1); | |||
if (hrefURL.includes('Trivia')) { | |||
ga('send', 'event', 'FPTracking', `${path}`); | |||
} | |||
}); | |||
</script> | |||
[[ | </html> | ||
{{FrontPagePressRelease}} | |||
[[Category:One-off pages, active]] | |||
Latest revision as of 06:21, 14 January 2025
Enter your address to see elections and candidates on your ballot
More From Ballotpedia
BALLOTPEDIA NEWSLETTERS
TRENDING ARTICLES
-
New Mexico voters will decide whether to allow school elections to be held at the same time as state or federal partisan elections
-
Maine legislators weigh expanding state's ranked-choice voting system
-
New Mexico voters to decide amendment establishing legislative salaries in 2026; state currently only one without legislator salaries
-
New Mexico voters to decide amendment changing appointment process for university boards of regents in Nov. 2026
How the Supreme Court’s Tariffs Case Could Redefine Presidential Power and Trade w/ The Brennan Center's Elizabeth Goitein
Democratic Wave? 2025 Election Takeaways on Polling Misses, Redistricting, and What’s Next
Prop 50, Explained — Inside California’s Redistricting Push w/ CalMatters Maya C. Miller
Measuring the Potential Impact of Redistricting w/ Cook Political Report's Erin Covey
UPCOMING
ELECTIONS
| 2/24 | Iowa local elections |
| 2/24 | S.C., local elections |
| 2/28 | Del. local elections |
| 3/2 | Del. local elections |
| 3/3 | North Carolina statewide primary election |
Ballotpedia's
Poll Scroll
Poll Scroll
