연습장:Sakura: 두 판 사이의 차이

편집 요약 없음
 
(사용자 2명의 중간 판 103개는 보이지 않습니다)
1번째 줄: 1번째 줄:
== 기능 틀 ==
{| class ="wikitable" style="width: 400px; border: 2px solid #003B96; text-align: center;  margin: auto;"
=== 테마(라이트모드/다크모드) 별 이미지 ===
| colspan="4"  style="text-align: center; color: #fff; background: #003B96;" | <big><big>'''제23대 승상선거 서울특별시'''</big></big>
<div class="inline-block dark:hidden">{{{1|라이트모드에서 보입니다!}}}</div><div class="hidden dark:inline-block">{{{2|다크모드에서 보입니다!}}}</div>
|-
 
| rowspan="2"  width="15%" style="text-align: center; background: #eee;" | '''기호'''
=== 다크모드 전환 토글 ===
| width="35%" style="text-align: center; background: #eee;" | '''이름'''
{{test}}
| width="25%" style="text-align: center; background: #eee;" | '''득표수'''
 
| width="25%" style="text-align: center; background: #eee;" | '''순위'''
== Tailwind CSS 설명 ==
|-
=== 무엇인가? ===
| style="text-align: center; background: #eee;" | '''정당'''
<div class="max-w-[500px] w-full  mx-auto mb-[6px] pb-[6px]  bg-sky-500 border-sky-500 border-solid border-2  text-center text-white">{{youtube|--D4WMPEIZI|496px}}'''Tailwind CSS를 설명하는 영상'''</div>
| style="text-align: center; background: #eee;" | '''득표율'''
css 파일 대신 html에 코드를 쓰는 걸로 대신할 수 있는 CSS 프레임워크 라고는 하지만 이해 못하시죠? 간단히 말하자면 <code>style=""</code> 사이에 무언가를 쓰는것 대신에 <code>class=""</code>에 적어서 적용할 수 있게 만드는 기능입니다.
| style="text-align: center; background: #eee;" | '''비고'''
 
|-
=== 왜 쓰는가? ===
| rowspan="2"  width="15%" style="text-align: center; color: #ffffff; background: #C9151E;" | <big><big><big>'''1'''</big></big></big>
코드를 짜는 시간이 짧아집니다. 대표적으로 틀을 가운데 두기 위해 많이 쓰는 <code>style="margin-right: auto; margin-left: auto;"</code>는 <code>class="mx-0"</code>로 짧게 작성할 있습니다. 또, 문서의 다크모드 대응도 가능하게 됩니다. 기존 방식에서는 다크모드에 대응할 수 없고, 대응하고자 하면 관리자가 미리 작성해놓은 <code>class="evewiki-dark-txt"</code> 같은걸 써야했지만, 이제는 관리자가 미리 작성했느냐와는 관계 없이 <code>class="dark:text-white"</code>라고 작성하여 다크모드에서 글자를 흰색으로 보이게 할 수 있습니다.
| width="35%" style="text-align: center;" | 하주성(河-)
| width="25%" style="text-align: center;" | 3,641,314
| width="25%" style="text-align: center;" | 2위
|-
| style="text-align: center;" | <span style="display: inline; padding: 2px 4px; border-radius: 3px; background: #C9151E; font-size: 0.9em">{{글씨 색|#fff|'''자유한국당'''}}</span>
| style="text-align: center;" | 48.26%
| style="text-align: center;" | 낙선
|-
| rowspan="2"  width="15%" style="text-align: center; color: #fff; background: #003B96;" | <big><big><big>'''2'''</big></big></big>
| width="35%" style="text-align: center;" | '''도민정(都-)'''
| width="25%" style="text-align: center;" | '''3,520,529'''
| width="25%" style="text-align: center;" | '''1위'''
|-
| style="text-align: center;" | <span style="display: inline; padding: 2px 4px; border-radius: 3px; background: #003B96; font-size: 0.9em">{{글씨 색|#fff|'''민주당'''}}</span>
| style="text-align: center;" | '''48.26%'''
| style="text-align: center; background:gold" | '''당선'''
|-
| rowspan="2"  width="15%" style="text-align: center; color: #fff; background: #D6001C;" | <big><big><big>'''3'''</big></big></big>
| width="35%" style="text-align: center;" | 팜하니(Pham-)
| width="25%" style="text-align: center;" | 215,633
| width="25%" style="text-align: center;" | 3위
|-
| style="text-align: center;" | <span style="display: inline; padding: 2px 4px; border-radius: 3px; background: #D6001C; font-size: 0.9em">{{글씨 색|#fff|'''통합진보당'''}}</span>
| style="text-align: center;" | 3.49%
| style="text-align: center;" | 낙선
|-
| rowspan="2"  width="15%" style="text-align: center; color: #fff; background: #5CB32E;" | <big><big><big>'''5'''</big></big></big>
| style="text-align: center;" | 장기수(張-)
| colspan="2" rowspan="2" style="text-align: center; background: #eee;" | ''사퇴''
|-
| style="text-align: center;" | <span style="display: inline; padding: 2px 4px; border-radius: 3px; background: #5CB32E; font-size: 0.9em">{{글씨 색|#fff|'''녹색당'''}}</span>
|-
| rowspan="3"  width="15%" style="text-align: center; background: #eee;" | '''계'''
| width="35%" style="text-align: center; background: #eee;" | '''선거인 수'''
| width="25%" style="text-align: center; background: #eee;" | 9,762,954
| rowspan="3"  width="25%" style="text-align: center; background: #eee;" | '''투표율'''<br>75.41%
|-
| style="text-align: center; background: #eee;" | '''투표 '''
| style="text-align: center; background: #eee;" | 7,410,082
|-
| style="text-align: center; background: #eee;" | '''무효표 수'''
| style="text-align: center; background: #eee;" | 32,604
|-
|}

2026년 6월 6일 (토) 03:16 기준 최신판

제23대 승상선거 서울특별시
기호 이름 득표수 순위
정당 득표율 비고
1 하주성(河-) 3,641,314 2위
자유한국당 48.26% 낙선
2 도민정(都-) 3,520,529 1위
민주당 48.26% 당선
3 팜하니(Pham-) 215,633 3위
통합진보당 3.49% 낙선
5 장기수(張-) 사퇴
녹색당
선거인 수 9,762,954 투표율
75.41%
투표 수 7,410,082
무효표 수 32,604