Hilda Bot 2 лет назад
Родитель
Сommit
96f5829c5c
6 измененных файлов с 2958 добавлено и 0 удалено
  1. 1640 0
      1.21.xaml
  2. 411 0
      April_Fools_2023.xaml
  3. 253 0
      April_Fools_2024.xaml
  4. 0 0
      News.xaml
  5. 401 0
      Special_archive_page.xaml
  6. 253 0
      Test.xaml

Разница между файлами не показана из-за своего большого размера
+ 1640 - 0
1.21.xaml


+ 411 - 0
April_Fools_2023.xaml

@@ -0,0 +1,411 @@
+<!-- <StackPanel xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PCL2" > -->
+<StackPanel Margin="0,-10,0,0" xmlns:sys ="clr-namespace:System;assembly=mscorlib">
+<!--Animations Starts-->
+<StackPanel.Triggers>
+
+</StackPanel.Triggers>
+<StackPanel.Resources>
+<!--Styles Starts-->
+<Style TargetType="FlowDocumentScrollViewer" >
+<Setter Property="IsSelectionEnabled" Value="False"/>
+<Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
+<Setter Property="Margin" Value="0"/>
+</Style><Style TargetType="FlowDocument" >
+<Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
+<Setter Property="FontSize" Value="14"/>
+<Setter Property="TextAlignment" Value="Left"/>
+</Style><Style TargetType="StackPanel" x:Key="ContentStack" >
+<Setter Property="Margin" Value="20,40,20,20"/>
+</Style><Style TargetType="local:MyCard" x:Key="Card" >
+<Setter Property="Margin" Value="0,5"/>
+</Style><Style TargetType="TextBox" x:Key="InlineCode">
+    <Setter Property="FontSize" Value="14" />
+    <Setter Property="IsReadOnly" Value="True" />
+    <Setter Property="Margin" Value="2,0,2,-4" />
+    <Setter Property="FontFamily" Value="Consolas"/>
+    <Setter Property="Height" Value="18"/>
+    <Setter Property="Template">
+        <Setter.Value>
+            <ControlTemplate TargetType="TextBox">
+                <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
+                    BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
+                    CornerRadius="5" Padding="4,0.2"> 
+                    <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
+                        HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
+                </Border>
+                <ControlTemplate.Triggers>
+                </ControlTemplate.Triggers>
+            </ControlTemplate>
+        </Setter.Value>
+    </Setter>
+</Style><Style TargetType="TextBlock" >
+<Setter Property="TextWrapping" Value="Wrap"/>
+<Setter Property="HorizontalAlignment" Value="Left"/>
+<Setter Property="FontSize" Value="14"/>
+<Setter Property="Foreground" Value="Black"/>
+</Style><Style TargetType="List" >
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="Margin" Value="20,0,0,0"/>
+<Setter Property="MarkerStyle" Value="1"/>
+<Setter Property="Padding" Value="0"/>
+</Style><Style TargetType="ListItem" >
+<Setter Property="Foreground" Value="Black"/>
+<Setter Property="LineHeight" Value="22"/>
+</Style><Style TargetType="Paragraph" x:Key="H2" >
+<Setter Property="FontSize" Value="22"/>
+<Setter Property="Margin" Value="0,10,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
+</Style><Style TargetType="Paragraph" x:Key="H3" >
+<Setter Property="FontSize" Value="18"/>
+<Setter Property="Margin" Value="0,5,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
+</Style><Style TargetType="Paragraph" x:Key="H4" >
+<Setter Property="FontSize" Value="16"/>
+<Setter Property="Margin" Value="0,3,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
+</Style><Style TargetType="Border" x:Key="Quote" >
+<Setter Property="BorderThickness" Value="5,0,0,0"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
+<Setter Property="Padding" Value="10,5"/>
+<Setter Property="Margin" Value="0,5"/>
+</Style><sys:String x:Key="DownloadIcon">
+M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
+0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
+0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
+0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
+0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
+35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
+721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
+0.5-0.2 0.2-0.4 0.4-0.7 0.6-0.3 0.2-0.5 0.4-0.8 0.6-0.2
+0.1-0.4 0.3-0.5 0.4l-0.9 0.6c-0.2 0.1-0.3 0.2-0.5 0.3-0.3
+0.2-0.6 0.4-1 0.6-0.2 0.1-0.3 0.2-0.5 0.3-0.3 0.2-0.6
+0.4-1 0.5-0.2 0.1-0.4 0.2-0.5 0.3-0.3 0.2-0.6 0.3-0.9
+0.5l-0.6 0.3c-0.3 0.1-0.6 0.3-0.8 0.4-0.2 0.1-0.5 0.2-0.7
+0.3-0.3 0.1-0.5 0.2-0.8 0.3l-0.9 0.3c-0.2 0.1-0.4 0.2-0.7
+0.2-0.3 0.1-0.6 0.2-1 0.3-0.2 0.1-0.4 0.1-0.6 0.2-0.4 0.1-0.7
+0.2-1.1 0.3-0.2 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.2-1.1 0.2-0.2
+0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.1-1.1 0.2-0.2 0-0.4 0.1-0.7
+0.1-0.3 0-0.7 0.1-1 0.1-0.3 0-0.6 0-0.9 0.1-0.3 0-0.5 0-0.8
+0.1-1.2 0.1-2.3 0.1-3.5 0-0.3 0-0.5 0-0.8-0.1-0.3 0-0.6
+0-0.9-0.1-0.3 0-0.7-0.1-1-0.1-0.2 0-0.4-0.1-0.7-0.1-0.4-0.1-0.7-0.1-1.1-0.2-0.2
+0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
+0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.3-0.2-0.1-0.4-0.1-0.6-0.2-0.3-0.1-0.6-0.2-1-0.3-0.2-0.1-0.5-0.1-0.7-0.2l-0.9-0.3c-0.3-0.1-0.5-0.2-0.8-0.3-0.2-0.1-0.5-0.2-0.7-0.3-0.3-0.1-0.6-0.3-0.8-0.4l-0.6-0.3c-0.3-0.2-0.6-0.3-0.9-0.5-0.2-0.1-0.4-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-0.9-0.7-0.2-0.1-0.3-0.3-0.5-0.4-0.3-0.2-0.5-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.7-0.6-0.2-0.2-0.4-0.4-0.6-0.5l-1.2-1.2-233.1-233.1c-13.7-13.7-13.7-35.8 0-49.5 13.7-13.7
+35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
+<sys:String x:Key="LaunchIcon">
+M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
+415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
+345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
+442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
+10 10 1.7 0 3.4-0.4 5-1.4l359.7-207.7c6.7-3.8 6.7-13.5 0-17.3L387.1
+295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
+<sys:String x:Key="CloudIcon">
+M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
+20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
+97.2 64.6 155 0 30.8-5.9 60.6-17.7 88.7-11.3 27.1-27.5 51.4-48.2 72.3-42.3
+42.8-98.4 66.3-158 66.3h-478c-53.3-3.1-102.6-24-139-58.8-35.3-33.6-54.7-77.2-54.7-122.5
+0-38.5 13.7-75.3 39.7-106.4 12.9-15.5 28.5-29.1 46.3-40.3 18.3-11.6
+38.4-20.4 59.9-26.3 26.1-7.1 44.9-29.9 47-56.9 4-52.9 28.6-102.1
+69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
+220.8-4.4 20.8-18.5 38.3-38.2 46.3C65.8 465.6 0.2 551.2 0.2 650.7 0.2 781.3
+113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
+0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
+211.6 582.7 160 480 160z</sys:String><Style x:Key="ListItem" TargetType="TextBlock">
+  <Setter Property="Margin" Value="10,-13.5,5,15" />
+  <Setter Property="TextWrapping" Value="Wrap" />
+  <Setter Property="HorizontalAlignment" Value="Left" />
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Foreground" Value="Black" />
+</Style>
+<Style x:Key="ListItemLink" TargetType="local:MyTextButton">
+  <Setter Property="Margin" Value="15,-15,5,15" />
+  <Setter Property="TextElement.FontSize" Value="20" />
+</Style>
+<Style x:Key="ListStyle" TargetType="StackPanel">
+  <Setter Property="Margin" Value="22,0,14,5" />
+</Style>
+<Style TargetType="TextBox">
+  <Setter Property="Background" Value="{x:Null}" />
+  <Setter Property="Padding" Value="3,0,3,0" />
+  <Setter Property="IsReadOnly" Value="True" />
+  <Setter Property="BorderBrush" Value="{x:Null}" />
+</Style>
+<Style x:Key="imgTitle" TargetType="TextBlock">
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Foreground" Value="#FF777777" />
+  <Setter Property="HorizontalAlignment" Value="Center" />
+  <Setter Property="Margin" Value="0,0,0,15" />
+</Style>
+<!--footnote-->
+<Style x:Key="footnote" TargetType="TextBlock">
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Padding" Value="30,0" />
+  <Setter Property="Margin" Value="0,20,0,15" />
+  <Setter Property="Foreground" Value="#FF777777" />
+  <Setter Property="TextWrapping" Value="Wrap" />
+</Style>
+<!--ButtonNameBorder-->
+<!--ImageButtonStyle-->
+<Style x:Key="ImgBtnImg" TargetType="Image">
+  <Setter Property="MaxWidth" Value="70px" />
+  <Setter Property="MaxHeight" Value="70px" />
+  <Setter Property="Margin" Value="3" />
+</Style>
+<Style x:Key="ImgBtnBdr" TargetType="Border">
+  <Setter Property="Background" Value="{DynamicResource ColorBrush7}" />
+  <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
+  <Setter Property="BorderThickness" Value="2px" />
+  <Setter Property="CornerRadius" Value="5" />
+  <Setter Property="Margin" Value="2px" />
+</Style>
+<Style x:Key="NameBdr" TargetType="Border">
+  <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
+  <Setter Property="BorderThickness" Value="0" />
+  <Setter Property="CornerRadius" Value="5,5,0,0" />
+  <Setter Property="Margin" Value="-2,-2,-2,2" />
+</Style>
+<Style x:Key="ImgBtnTxt" TargetType="TextBlock">
+  <Setter Property="HorizontalAlignment" Value="Center" />
+  <Setter Property="VerticalAlignment" Value="Center" />
+  <Setter Property="Grid.Row" Value="0" />
+  <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
+  <Setter Property="FontSize" Value="12px" />
+  <Setter Property="Margin" Value="8px,2px" />
+</Style>
+<ControlTemplate x:Key="Separator" TargetType="ContentControl">
+  <Grid Margin="0,10">
+    <Grid.ColumnDefinitions>
+      <ColumnDefinition Width="1*" />
+      <ColumnDefinition Width="100" />
+      <ColumnDefinition Width="1*" />
+    </Grid.ColumnDefinitions>
+    <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
+    <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
+    <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
+  </Grid>
+</ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
+<Setter Property="Text" Value="下载"/>
+<Setter Property="ToolTip" Value="转到下载页面"/>
+<Setter Property="EventType" Value="切换页面"/>
+<Setter Property="EventData" Value="1|1"/>
+</Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
+<Setter Property="Text" Value="服务端"/>
+<Setter Property="ToolTip" Value="下载服务端"/>
+<Setter Property="EventType" Value="下载文件"/>
+</Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
+<Setter Property="Margin" Value="0,0,5,5"/>
+<Setter Property="Height" Value="35"/>
+<Setter Property="Padding" Value="13,0"/>
+<Setter Property="EventType" Value="打开网页"/>
+</Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
+<Setter Property="Grid.Column" Value="0"/>
+<Setter Property="Text" Value="Minecraft Wiki"/>
+</Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
+<Setter Property="Grid.Column" Value="2"/>
+<Setter Property="Text" Value="官网"/>
+</Style><Style TargetType="Border" x:Key="VersionImageBorder" >
+<Setter Property="HorizontalAlignment" Value="Center"/>
+<Setter Property="BorderThickness" Value="4"/>
+<Setter Property="VerticalAlignment" Value="Top"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="CornerRadius" Value="7"/>
+<Setter Property="MaxHeight" Value="150"/>
+</Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
+<Setter Property="Margin" Value="0,-20,-1,10"/>
+<Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="Width" Value="190"/>
+<Setter Property="Height" Value="36"/>
+<Setter Property="CornerRadius" Value="7"/>
+<Setter Property="BorderThickness" Value="0,0,0,2"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
+</Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
+<Setter Property="HorizontalAlignment" Value="Center"/>
+<Setter Property="TextAlignment" Value="Center"/>
+<Setter Property="VerticalAlignment" Value="Center"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
+<Setter Property="Width" Value="180"/>
+<Setter Property="TextWrapping" Value="Wrap"/>
+<Setter Property="FontSize" Value="20"/>
+</Style>
+</StackPanel.Resources>
+<Border Margin="0,0,0,5" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
+    <Grid Margin="10,0,0,0">
+        <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
+                📰 新闻主页由 Light Beacon (最亮的信标)制作与维护。
+    </TextBlock>
+        <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
+                📰 MCBBS 寄了,新闻主页将永久停用 MCBBS 链接
+    </TextBlock>
+    </Grid>
+</Border><ContentControl Content="加  急  特  快" Template="{StaticResource Separator}"/><local:MyCard Title="23w13a_or_b" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
+<StackPanel Style="{StaticResource ContentStack}">
+<Border Style="{StaticResource VersionImageBorder}">
+<Border.Background>
+<ImageBrush ImageSource="https://image.stapxs.cn/i/2024/06/09/image.png" Stretch="UniformToFill" />
+</Border.Background>
+<Image Source="https://image.stapxs.cn/i/2024/06/09/image.png" Opacity="0" Stretch="Fill"/>
+</Border>
+<Border Style="{StaticResource VersionTitleBorder}">
+<TextBlock Style="{StaticResource VersionTitleBlock}" Text="23w13a_or_b" />
+</Border><FlowDocumentScrollViewer >
+<FlowDocument>
+<Paragraph>    以下译自官方博文
+我们人类每天都要做 35000 个选择——它们大多是关于吃什么、穿什么、说什么,还有是否你应该在流媒体平台上观看新现实戏剧(它太太太太好康了,只是你必须得等至少 47 集才能真正开始)。有这么多的选择需要做,使人烦躁。更直接的说,使人厌恶。而且这些选择有些你可能会在 Minecraft 中做出!Mojang Studios 现在着手于修正这个问题。解决方案是:更多的选择!
+几年以来,我们推出了一系列改变生活、赢得大奖、使人疯狂、更不用说令人极为震撼的内容:Minecraft 3D、20w14∞ 快照、一次一个方块更新。但是它们和本次 “投票更新” 一点边都沾不上——一个自从 2017 年就开始制作的快照。
+当你启动游戏的那一刻,你会发现你自己正身处于拥有无尽的投票的世界中,在那里投票的结果将会从根本上更改 Minecraft 的运行法则。我们创造了好一系列的可供投票的特性,它们包含了方方面面:气球蜂、法国模式、僵尸模式、兔子幻形、爆破药水、诡异世界 —— 还有更多、更多......
+“研究表明游戏玩家喜爱做出选择——越多越好,”来自渝仁大学的司越·仪教授说道。“Mojang Studios 希望将选择权交到玩家的手上的事实体现了他们是多么地关心他们的玩家社区。至少我是这么想的。我从 1857 年开始就不混社区了而且我其实也不玩游戏。”
+所以这个什么时候才能推出?事实是它已经到来了!由于我们希望投票更新尽快发放到玩家们的手里,我们现在非常乐意宣布你现在立刻就可以下载它!可以等会再感谢我们。</Paragraph><Paragraph Style="{StaticResource H2}">新特性</Paragraph><List>
+<ListItem><Paragraph>引入投票系统:可以改变一切的方法*</Paragraph></ListItem>
+<ListItem><Paragraph>真实的投票体验 —— 不需要再等到下一次 Minecraft Live 为其他人的选择而生气!</Paragraph></ListItem>
+<ListItem><Paragraph>元宇宙革命性的元投票技术!</Paragraph></ListItem>
+<ListItem><Paragraph>包括很多新特性,它们太好了而不能放进主流版本中 —— 至少现在是这样!</Paragraph></ListItem>
+<ListItem><Paragraph>极小的概率投票结果会摧毁你的世界!</Paragraph></ListItem>
+<ListItem><Paragraph>兴奋的倒计时!</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H3}">方块</Paragraph><List>
+<ListItem><Paragraph>是的!方块!</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H3}">物品</Paragraph><List>
+<ListItem><Paragraph>为了美好未来的物品!</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H3}">技术性更改</Paragraph><List>
+<ListItem><Paragraph>超兴奋!</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H3}">漏洞</Paragraph><List>
+<ListItem><Paragraph>加了点新 Bug(除非你投票决定它们是特性)
+(*:是的我们之前已改变了一切,为什么你不想点新的更好的方法呢)</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H2}">FAQ</Paragraph><Paragraph Style="{StaticResource H4}">当我下载这个快照后会发生什么</Paragraph><List>
+<ListItem><Paragraph>在你下载之后,没有反悔的余地。如果你删除文件,故事就就此结束了;你从床上醒来并信你爱信啥信啥吧。你要是启动它,你呆在主世界,我们会给你看看爱丽丝仙境的兔子洞有多深</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H4}">在游戏玩法上我能期待些什么</Paragraph><List>
+<ListItem><Paragraph>就像一盒巧克力一样,你永远不会知道你会尝到什么滋味</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H4}">但是我不想投那堆乱七八糟的,我就是想放松一下</Paragraph><List>
+<ListItem><Paragraph>最艰难的抉择,需要最坚强的意志!</Paragraph></ListItem>
+</List>
+</FlowDocument>
+</FlowDocumentScrollViewer><GroupBox Header="阅读完整日志" BorderBrush="{DynamicResource ColorBrush3}" Margin="0,10,0,0">
+<Grid UseLayoutRounding="True" Margin="10,10,10,10">
+<Grid.ColumnDefinitions>
+<ColumnDefinition Width="20*"/>
+<ColumnDefinition Width="12*"/>
+</Grid.ColumnDefinitions>
+<local:MyButton Style="{StaticResource WikiLinkButton}" EventData="https://zh.minecraft.wiki/w/23w13a_or_b" ColorType="Highlight" />
+<local:MyButton Style="{StaticResource OfficalLinkButton}" EventData="https://www.minecraft.net/en-us/article/vote-update"/>
+</Grid>
+</GroupBox><Grid Margin="0,10,6,0">
+
+<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
+<Path Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush5}"
+                    Stretch="Uniform"
+                    Data="M640 416h256c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H480c-35.36 0-64-28.48-64-64V640h128c53.312 0 96-42.976 96-96V416zM64 128c0-35.36 28.48-64 64-64h416c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H128c-35.36 0-64-28.48-64-64V128z m128 276.256h46.72v-24.768h67.392V497.76h49.504V379.488h68.768v20.64h50.88V243.36H355.616v-34.368c0-10.08 1.376-18.784 4.16-26.112a10.56 10.56 0 0 0 1.344-4.16c0-0.896-3.2-1.792-9.6-2.72h-46.816v67.36H192v160.896z m46.72-122.368h67.392v60.48h-67.36V281.92z m185.664 60.48h-68.768V281.92h68.768v60.48z m203.84 488l19.264-53.632h100.384l19.264 53.632h54.976L732.736 576h-64.64L576 830.4h52.256z m33.024-96.256l37.12-108.608h1.376l34.368 108.608h-72.864zM896 320h-64a128 128 0 0 0-128-128v-64a192 192 0 0 1 192 192zM128 704h64a128 128 0 0 0 128 128v64a192 192 0 0 1-192-192z"/>
+<TextBlock Text="By 最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush5}"/>
+</StackPanel>
+
+<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
+<local:MyIconTextButton Text="启动" ToolTip="启动 23w13a_or_b" EventType="启动游戏"
+    EventData="23w13a_or_b" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
+<local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
+    LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
+
+</StackPanel>
+</Grid>
+</StackPanel>
+</local:MyCard><local:MyCard Title="" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
+<StackPanel Style="{StaticResource ContentStack}">
+<FlowDocumentScrollViewer >
+<FlowDocument>
+<Paragraph>    Mojang Studios 近日在 B站 创建了官方账号,并发布了入驻视频。
+视频表达了对中国 Minecraft 社区的关心,以及透露了一些关于 Minecraft 接下来更新的秘密。</Paragraph><Paragraph Style="{StaticResource H2}">1.20 更新即将到来的扩增内容</Paragraph><List>
+<ListItem><Paragraph>末影人现在会使用 “末地传送腿”,当其头部被阻挡而不能照计划移动或被困在船、矿车等载具上时,会使用末地传送腿,将最近的玩家踢进末路之地的虚空中,若玩家不在末地维度则将其传送至末地并使其掉入虚空,以表示对卑鄙的两格人的愤怒。</Paragraph></ListItem>
+<ListItem><Paragraph>闪电苦力怕增加格斗技能,被称为“闪电苦力怕拳”,该拳伤害极高(同监守者),并同时赋予 2.5 秒的电击效果,其会使玩家画面剧烈抖动,无法控制。
+** 由于 Mojang 调了半天并未出现自己想要的结果,如果闪电苦力怕因为自身原因无法发动技能可能是特性</Paragraph></ListItem>
+<ListItem><Paragraph>添加 MOBBO,一种生物
+** 他非常爱你
+** 他可以帮你一键合成物品
+** 他可以使用 Mobbo 方块来装饰你的房子
+</Paragraph><Image Source="https://www.lightbeacon.top/pnh/newsimgs/Normal/Mobbo.png" Margin="10,0,10,0" MaxHeight="500" />
+<TextBlock Text="Mobbo" Style="{StaticResource imgTitle}" /></ListItem>
+<ListItem><Paragraph>疣猪兽现在会在创死一名玩家后跳舞</Paragraph></ListItem>
+<ListItem><Paragraph>荧石有了新用途,不过并未详细透露,好像和水有关</Paragraph></ListItem>
+<ListItem><Paragraph>现在猪灵觉得黄金太土了,不如使用泥土来交易,因为它们觉得其相当珍贵</Paragraph></ListItem>
+<ListItem><Paragraph>手撸原木太疼了,玩家需要先手撸牛合成手套,使用手套来手撸原木</Paragraph></ListItem>
+</List><Paragraph Style="{StaticResource H2}">关注官方账号</Paragraph><Paragraph>    扫描下方二维码获取 Mojang 的最新消息
+<Image Source="https://www.lightbeacon.top/pnh/newsimgs/Normal/qrc.png" Margin="10,0,10,0" MaxHeight="500" />
+<TextBlock Text="qrc" Style="{StaticResource imgTitle}" /></Paragraph>
+</FlowDocument>
+</FlowDocumentScrollViewer>
+</StackPanel>
+</local:MyCard><ContentControl Content="最  新  新  闻" Template="{StaticResource Separator}"/><local:MyCard Title="新闻主页正在测试!" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
+<StackPanel Style="{StaticResource ContentStack}">
+<FlowDocumentScrollViewer >
+<FlowDocument>
+<Paragraph>    新闻主页正在尝试以新的方式呈现(尽管可能看不出来),若遇到新闻主页某些位置无法打开或内容有误,请先别急!我知道你很急,但是你先别急!
+下方的卡片可以帮你查看原来版本的新闻主页,如有需要,可以拿来先凑凑数</Paragraph>
+</FlowDocument>
+</FlowDocumentScrollViewer>
+</StackPanel>
+</local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
+    <StackPanel Margin="25,40,23,15">
+    <Grid>
+      <Grid.ColumnDefinitions>
+        <ColumnDefinition Width="1*"/>
+        <ColumnDefinition Width="100"/> 
+      </Grid.ColumnDefinitions>
+      <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0" IsEditable="True" >
+        <local:MyComboBoxItem Content="1.21存档"/>
+        <local:MyComboBoxItem Content="1.20存档"/>
+        <local:MyComboBoxItem Content="1.19存档"/>
+        <local:MyComboBoxItem Content="1.18存档"/>
+        <local:MyComboBoxItem Content="1.17存档"/>
+      </local:MyComboBox>
+        <local:MyButton HorizontalAlignment="Center" Width="80"
+            Grid.Column="1" Text="打开→" EventType="打开帮助" 
+            EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
+    </Grid>
+    </StackPanel>
+</local:MyCard><Grid Margin="20,10" Height="35">
+    <Grid.ColumnDefinitions>
+        <ColumnDefinition Width="3*">
+        </ColumnDefinition>
+        <ColumnDefinition Width="2*">
+        </ColumnDefinition>
+        <ColumnDefinition Width="1*">
+        </ColumnDefinition>
+	</Grid.ColumnDefinitions>
+	<local:MyButton Grid.Column="0" Padding="10,0" Text="刷新" EventType="刷新主页" Margin="3,0" ToolTip="点击刷新新闻主页" />
+	<local:MyButton Grid.Column="2" Padding="10,0" Text="反馈" EventType="打开网页" Margin="3,0" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 GitHub 提交反馈" />
+	<local:MyButton Grid.Column="1" Padding="10,0" Text="❤️ 赞助主页" EventType="打开网页" Margin="3,0" EventData="https://afdian.net/a/Nattiden" ToolTip="点击前往 新闻主页爱发电" ColorType="Red" />
+</Grid><Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
+  <StackPanel Margin="40,15,0,10">
+    <TextBlock Text="PCL2 新闻主页" FontSize="16" Margin="0,5,5,5" />
+    <TextBlock> 
+    By:最亮的信标(Light Beacon)<LineBreak/>
+    主要维护:最亮的信标(Light Beacon)<LineBreak/>
+    <LineBreak/>
+    订阅地址: 请通过 设置 - 主页 - 预设 - 新闻主页 订阅<LineBreak/>
+    爱发电赞助: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://afdian.net/a/Nattiden"
+    EventData="https://afdian.net/a/Nattiden" ToolTip="点击打开爱发电" /></Underline> <LineBreak/>
+    GitHub: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://github.com/Light-Beacon/PCL2-NewsHomepage"
+    EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage" ToolTip="点击打开GitHub" /></Underline> <LineBreak/>
+    <LineBreak/>
+    无特殊声明本主页采用 <Underline><local:MyTextButton Margin="0,0,0,-2" Text="CC BY-NC-SA 4.0" EventType="打开网页" 
+    EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/ "/></Underline> 授权。
+    <LineBreak/>
+    </TextBlock>
+    <Border Height="20500" Background="{DynamicResource ColorBrush7}" Opacity="0.3" Margin="-40,10,0,0">
+      <StackPanel>
+        <Grid Margin="0,7,0,15">
+          <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="1*">
+            </ColumnDefinition>
+            <ColumnDefinition Width="100">
+            </ColumnDefinition>
+            <ColumnDefinition Width="1*">
+            </ColumnDefinition>
+          </Grid.ColumnDefinitions>
+          <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
+          <TextBlock Text="到  底  啦" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
+          <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
+        </Grid>
+      </StackPanel>
+    </Border>
+  </StackPanel>
+</Border>
+</StackPanel>

Разница между файлами не показана из-за своего большого размера
+ 253 - 0
April_Fools_2024.xaml


+ 0 - 0
output.xaml → News.xaml


+ 401 - 0
Special_archive_page.xaml

@@ -0,0 +1,401 @@
+<!-- <StackPanel xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PCL2" > -->
+<StackPanel Margin="0,-10,0,0" xmlns:sys ="clr-namespace:System;assembly=mscorlib">
+<!--Animations Starts-->
+<StackPanel.Triggers>
+
+</StackPanel.Triggers>
+<StackPanel.Resources>
+<!--Styles Starts-->
+<Style TargetType="FlowDocumentScrollViewer" >
+<Setter Property="IsSelectionEnabled" Value="False"/>
+<Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
+<Setter Property="Margin" Value="0"/>
+</Style><Style TargetType="FlowDocument" >
+<Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
+<Setter Property="FontSize" Value="14"/>
+<Setter Property="TextAlignment" Value="Left"/>
+</Style><Style TargetType="StackPanel" x:Key="ContentStack" >
+<Setter Property="Margin" Value="20,40,20,20"/>
+</Style><Style TargetType="local:MyCard" x:Key="Card" >
+<Setter Property="Margin" Value="0,5"/>
+</Style><Style TargetType="TextBox" x:Key="InlineCode">
+    <Setter Property="FontSize" Value="14" />
+    <Setter Property="IsReadOnly" Value="True" />
+    <Setter Property="Margin" Value="2,0,2,-4" />
+    <Setter Property="FontFamily" Value="Consolas"/>
+    <Setter Property="Height" Value="18"/>
+    <Setter Property="Template">
+        <Setter.Value>
+            <ControlTemplate TargetType="TextBox">
+                <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
+                    BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
+                    CornerRadius="5" Padding="4,0.2"> 
+                    <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
+                        HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
+                </Border>
+                <ControlTemplate.Triggers>
+                </ControlTemplate.Triggers>
+            </ControlTemplate>
+        </Setter.Value>
+    </Setter>
+</Style><Style TargetType="TextBlock" >
+<Setter Property="TextWrapping" Value="Wrap"/>
+<Setter Property="HorizontalAlignment" Value="Left"/>
+<Setter Property="FontSize" Value="14"/>
+<Setter Property="Foreground" Value="Black"/>
+</Style><Style TargetType="List" >
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="Margin" Value="20,0,0,0"/>
+<Setter Property="MarkerStyle" Value="1"/>
+<Setter Property="Padding" Value="0"/>
+</Style><Style TargetType="ListItem" >
+<Setter Property="Foreground" Value="Black"/>
+<Setter Property="LineHeight" Value="22"/>
+</Style><Style TargetType="Paragraph" x:Key="H2" >
+<Setter Property="FontSize" Value="22"/>
+<Setter Property="Margin" Value="0,10,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
+</Style><Style TargetType="Paragraph" x:Key="H3" >
+<Setter Property="FontSize" Value="18"/>
+<Setter Property="Margin" Value="0,5,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
+</Style><Style TargetType="Paragraph" x:Key="H4" >
+<Setter Property="FontSize" Value="16"/>
+<Setter Property="Margin" Value="0,3,0,5"/>
+<Setter Property="FontWeight" Value="Bold"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
+</Style><Style TargetType="Border" x:Key="Quote" >
+<Setter Property="BorderThickness" Value="5,0,0,0"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
+<Setter Property="Padding" Value="10,5"/>
+<Setter Property="Margin" Value="0,5"/>
+</Style><sys:String x:Key="DownloadIcon">
+M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
+0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
+0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
+0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
+0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
+35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
+721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
+0.5-0.2 0.2-0.4 0.4-0.7 0.6-0.3 0.2-0.5 0.4-0.8 0.6-0.2
+0.1-0.4 0.3-0.5 0.4l-0.9 0.6c-0.2 0.1-0.3 0.2-0.5 0.3-0.3
+0.2-0.6 0.4-1 0.6-0.2 0.1-0.3 0.2-0.5 0.3-0.3 0.2-0.6
+0.4-1 0.5-0.2 0.1-0.4 0.2-0.5 0.3-0.3 0.2-0.6 0.3-0.9
+0.5l-0.6 0.3c-0.3 0.1-0.6 0.3-0.8 0.4-0.2 0.1-0.5 0.2-0.7
+0.3-0.3 0.1-0.5 0.2-0.8 0.3l-0.9 0.3c-0.2 0.1-0.4 0.2-0.7
+0.2-0.3 0.1-0.6 0.2-1 0.3-0.2 0.1-0.4 0.1-0.6 0.2-0.4 0.1-0.7
+0.2-1.1 0.3-0.2 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.2-1.1 0.2-0.2
+0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.1-1.1 0.2-0.2 0-0.4 0.1-0.7
+0.1-0.3 0-0.7 0.1-1 0.1-0.3 0-0.6 0-0.9 0.1-0.3 0-0.5 0-0.8
+0.1-1.2 0.1-2.3 0.1-3.5 0-0.3 0-0.5 0-0.8-0.1-0.3 0-0.6
+0-0.9-0.1-0.3 0-0.7-0.1-1-0.1-0.2 0-0.4-0.1-0.7-0.1-0.4-0.1-0.7-0.1-1.1-0.2-0.2
+0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
+0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.3-0.2-0.1-0.4-0.1-0.6-0.2-0.3-0.1-0.6-0.2-1-0.3-0.2-0.1-0.5-0.1-0.7-0.2l-0.9-0.3c-0.3-0.1-0.5-0.2-0.8-0.3-0.2-0.1-0.5-0.2-0.7-0.3-0.3-0.1-0.6-0.3-0.8-0.4l-0.6-0.3c-0.3-0.2-0.6-0.3-0.9-0.5-0.2-0.1-0.4-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-0.9-0.7-0.2-0.1-0.3-0.3-0.5-0.4-0.3-0.2-0.5-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.7-0.6-0.2-0.2-0.4-0.4-0.6-0.5l-1.2-1.2-233.1-233.1c-13.7-13.7-13.7-35.8 0-49.5 13.7-13.7
+35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
+<sys:String x:Key="LaunchIcon">
+M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
+415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
+345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
+442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
+10 10 1.7 0 3.4-0.4 5-1.4l359.7-207.7c6.7-3.8 6.7-13.5 0-17.3L387.1
+295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
+<sys:String x:Key="CloudIcon">
+M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
+20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
+97.2 64.6 155 0 30.8-5.9 60.6-17.7 88.7-11.3 27.1-27.5 51.4-48.2 72.3-42.3
+42.8-98.4 66.3-158 66.3h-478c-53.3-3.1-102.6-24-139-58.8-35.3-33.6-54.7-77.2-54.7-122.5
+0-38.5 13.7-75.3 39.7-106.4 12.9-15.5 28.5-29.1 46.3-40.3 18.3-11.6
+38.4-20.4 59.9-26.3 26.1-7.1 44.9-29.9 47-56.9 4-52.9 28.6-102.1
+69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
+220.8-4.4 20.8-18.5 38.3-38.2 46.3C65.8 465.6 0.2 551.2 0.2 650.7 0.2 781.3
+113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
+0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
+211.6 582.7 160 480 160z</sys:String><Style x:Key="ListItem" TargetType="TextBlock">
+  <Setter Property="Margin" Value="10,-13.5,5,15" />
+  <Setter Property="TextWrapping" Value="Wrap" />
+  <Setter Property="HorizontalAlignment" Value="Left" />
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Foreground" Value="Black" />
+</Style>
+<Style x:Key="ListItemLink" TargetType="local:MyTextButton">
+  <Setter Property="Margin" Value="15,-15,5,15" />
+  <Setter Property="TextElement.FontSize" Value="20" />
+</Style>
+<Style x:Key="ListStyle" TargetType="StackPanel">
+  <Setter Property="Margin" Value="22,0,14,5" />
+</Style>
+<Style TargetType="TextBox">
+  <Setter Property="Background" Value="{x:Null}" />
+  <Setter Property="Padding" Value="3,0,3,0" />
+  <Setter Property="IsReadOnly" Value="True" />
+  <Setter Property="BorderBrush" Value="{x:Null}" />
+</Style>
+<Style x:Key="imgTitle" TargetType="TextBlock">
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Foreground" Value="#FF777777" />
+  <Setter Property="HorizontalAlignment" Value="Center" />
+  <Setter Property="Margin" Value="0,0,0,15" />
+</Style>
+<!--footnote-->
+<Style x:Key="footnote" TargetType="TextBlock">
+  <Setter Property="FontSize" Value="14" />
+  <Setter Property="Padding" Value="30,0" />
+  <Setter Property="Margin" Value="0,20,0,15" />
+  <Setter Property="Foreground" Value="#FF777777" />
+  <Setter Property="TextWrapping" Value="Wrap" />
+</Style>
+<!--ButtonNameBorder-->
+<!--ImageButtonStyle-->
+<Style x:Key="ImgBtnImg" TargetType="Image">
+  <Setter Property="MaxWidth" Value="70px" />
+  <Setter Property="MaxHeight" Value="70px" />
+  <Setter Property="Margin" Value="3" />
+</Style>
+<Style x:Key="ImgBtnBdr" TargetType="Border">
+  <Setter Property="Background" Value="{DynamicResource ColorBrush7}" />
+  <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}" />
+  <Setter Property="BorderThickness" Value="2px" />
+  <Setter Property="CornerRadius" Value="5" />
+  <Setter Property="Margin" Value="2px" />
+</Style>
+<Style x:Key="NameBdr" TargetType="Border">
+  <Setter Property="Background" Value="{DynamicResource ColorBrush3}" />
+  <Setter Property="BorderThickness" Value="0" />
+  <Setter Property="CornerRadius" Value="5,5,0,0" />
+  <Setter Property="Margin" Value="-2,-2,-2,2" />
+</Style>
+<Style x:Key="ImgBtnTxt" TargetType="TextBlock">
+  <Setter Property="HorizontalAlignment" Value="Center" />
+  <Setter Property="VerticalAlignment" Value="Center" />
+  <Setter Property="Grid.Row" Value="0" />
+  <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}" />
+  <Setter Property="FontSize" Value="12px" />
+  <Setter Property="Margin" Value="8px,2px" />
+</Style>
+<ControlTemplate x:Key="Separator" TargetType="ContentControl">
+  <Grid Margin="0,10">
+    <Grid.ColumnDefinitions>
+      <ColumnDefinition Width="1*" />
+      <ColumnDefinition Width="100" />
+      <ColumnDefinition Width="1*" />
+    </Grid.ColumnDefinitions>
+    <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
+    <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
+    <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
+  </Grid>
+</ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
+<Setter Property="Text" Value="下载"/>
+<Setter Property="ToolTip" Value="转到下载页面"/>
+<Setter Property="EventType" Value="切换页面"/>
+<Setter Property="EventData" Value="1|1"/>
+</Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
+<Setter Property="Text" Value="服务端"/>
+<Setter Property="ToolTip" Value="下载服务端"/>
+<Setter Property="EventType" Value="下载文件"/>
+</Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
+<Setter Property="Margin" Value="0,0,5,5"/>
+<Setter Property="Height" Value="35"/>
+<Setter Property="Padding" Value="13,0"/>
+<Setter Property="EventType" Value="打开网页"/>
+</Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
+<Setter Property="Grid.Column" Value="0"/>
+<Setter Property="Text" Value="Minecraft Wiki"/>
+</Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
+<Setter Property="Grid.Column" Value="2"/>
+<Setter Property="Text" Value="官网"/>
+</Style><Style TargetType="Border" x:Key="VersionImageBorder" >
+<Setter Property="HorizontalAlignment" Value="Center"/>
+<Setter Property="BorderThickness" Value="4"/>
+<Setter Property="VerticalAlignment" Value="Top"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="CornerRadius" Value="7"/>
+<Setter Property="MaxHeight" Value="150"/>
+</Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
+<Setter Property="Margin" Value="0,-20,-1,10"/>
+<Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
+<Setter Property="Width" Value="190"/>
+<Setter Property="Height" Value="36"/>
+<Setter Property="CornerRadius" Value="7"/>
+<Setter Property="BorderThickness" Value="0,0,0,2"/>
+<Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
+</Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
+<Setter Property="HorizontalAlignment" Value="Center"/>
+<Setter Property="TextAlignment" Value="Center"/>
+<Setter Property="VerticalAlignment" Value="Center"/>
+<Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
+<Setter Property="Width" Value="180"/>
+<Setter Property="TextWrapping" Value="Wrap"/>
+<Setter Property="FontSize" Value="20"/>
+</Style>
+</StackPanel.Resources>
+<Border Margin="0,0,0,5" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
+    <Grid Margin="10,0,0,0">
+        <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
+                📰 新闻主页由 Light Beacon (最亮的信标)制作与维护。
+    </TextBlock>
+        <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
+                📰 MCBBS 寄了,新闻主页将永久停用 MCBBS 链接
+    </TextBlock>
+    </Grid>
+</Border><ContentControl Content="整  的  花  活" Template="{StaticResource Separator}"/><local:MyCard Margin="0,0,0,15" Title="去年的烂活 - 新闻主页祝您新年快乐(已摆烂)" CanSwap="True" IsSwaped="True">
+    <StackPanel Margin="30,120,30,40" MaxWidth="500" Height="150" x:Name="SP">
+      <StackPanel.Resources>
+        <Style TargetType="TextBlock">
+          <Setter Property="HorizontalAlignment" Value="Center" />
+          <Setter Property="VerticalAlignment" Value="Center" />
+          <Setter Property="FontSize" Value="56" />
+          <Setter Property="Foreground" Value="#EF321B" />
+          <Setter Property="FontWeight" Value="Bold"/> 
+        </Style>
+      </StackPanel.Resources>
+      <StackPanel.Triggers>
+        <EventTrigger RoutedEvent="StackPanel.Loaded">
+          <BeginStoryboard>
+            <Storyboard RepeatBehavior="Forever" FillBehavior="Stop">
+              <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
+              <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
+              <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.0001"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:0.5"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:1.3"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.1" BeginTime="0:0:2.1"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:2.8"/>
+              <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleX" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="Fu1S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="FuS" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="Fu2S" Storyboard.TargetProperty="ScaleY" From="1" To="2.2" Duration="0:0:0.05" BeginTime="0:0:3"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.4"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:3.8"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:3.8"/>             
+              <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="225" Duration="0:0:0.001" BeginTime="0:0:4.2"/>
+              <DoubleAnimation Storyboard.TargetName="FuAngle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8"/>
+              <DoubleAnimation Storyboard.TargetName="Fu1Angle" Storyboard.TargetProperty="Angle" From="45" To="8400" Duration="0:0:6" BeginTime="0:0:4.8"/>
+              <DoubleAnimation Storyboard.TargetName="Fu2Angle" Storyboard.TargetProperty="Angle" From="45" To="8800" Duration="0:0:6" BeginTime="0:0:4.8"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.05" BeginTime="0:0:6"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:6"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg1" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6"/>
+              <DoubleAnimation Storyboard.TargetName="FuImg2" Storyboard.TargetProperty="Opacity" From="1" To="0" Duration="0:0:0.05" BeginTime="0:0:7.6"/>
+              <DoubleAnimation Storyboard.TargetName="T1" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:7.6"/>
+              <DoubleAnimation Storyboard.TargetName="T2" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8"/>
+              <DoubleAnimation Storyboard.TargetName="T3" Storyboard.TargetProperty="Opacity" From="0" To="1" Duration="0:0:0.001" BeginTime="0:0:8.4"/>
+            </Storyboard>
+          </BeginStoryboard>
+        </EventTrigger>
+      </StackPanel.Triggers>
+      <Grid>
+        <Grid.ColumnDefinitions>
+          <ColumnDefinition />
+          <ColumnDefinition />
+          <ColumnDefinition />
+        </Grid.ColumnDefinitions>
+        <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="0" x:Name="FuImg1" Opacity="0" HorizontalAlignment="Right">
+          <Image.RenderTransform>
+            <TransformGroup>
+                <ScaleTransform x:Name="Fu1S"/>
+                <SkewTransform/>
+                <RotateTransform Angle="45" x:Name="Fu1Angle"/>
+                <TranslateTransform/>
+            </TransformGroup>
+          </Image.RenderTransform>
+        </Image>
+        <TextBlock Text="过" Grid.Column="0" x:Name="T1"/>
+        <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="1" x:Name="FuImg" Opacity="0">
+          <Image.RenderTransform>
+            <TransformGroup>
+                <ScaleTransform x:Name="FuS"/>
+                <SkewTransform/>
+                <RotateTransform Angle="45" x:Name="FuAngle"/>
+                <TranslateTransform x:Name="FuPos"/>
+            </TransformGroup>
+          </Image.RenderTransform>
+        </Image>
+        <TextBlock Text="年" Grid.Column="1" x:Name="T2"/>
+        <Image Source="https://image.stapxs.cn/i/2024/02/09/fu.png" MaxHeight="80" RenderTransformOrigin="0.5,0.5" Grid.Column="2" x:Name="FuImg2" Opacity="0" HorizontalAlignment="Left">
+          <Image.RenderTransform>
+            <TransformGroup>
+                <ScaleTransform x:Name="Fu2S"/>
+                <SkewTransform/>
+                <RotateTransform Angle="45" x:Name="Fu2Angle"/>
+                <TranslateTransform/>
+            </TransformGroup>
+          </Image.RenderTransform>
+        </Image>
+        <TextBlock Text="啦" Grid.Column="2" x:Name="T3"/>
+      </Grid>
+    </StackPanel>
+  </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
+    <StackPanel Margin="25,40,23,15">
+    <Grid>
+      <Grid.ColumnDefinitions>
+        <ColumnDefinition Width="1*"/>
+        <ColumnDefinition Width="100"/> 
+      </Grid.ColumnDefinitions>
+      <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0" IsEditable="True" >
+        <local:MyComboBoxItem Content="1.21存档"/>
+        <local:MyComboBoxItem Content="1.20存档"/>
+        <local:MyComboBoxItem Content="1.19存档"/>
+        <local:MyComboBoxItem Content="1.18存档"/>
+        <local:MyComboBoxItem Content="1.17存档"/>
+      </local:MyComboBox>
+        <local:MyButton HorizontalAlignment="Center" Width="80"
+            Grid.Column="1" Text="打开→" EventType="打开帮助" 
+            EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
+    </Grid>
+    </StackPanel>
+</local:MyCard><Grid Margin="20,10" Height="35">
+    <Grid.ColumnDefinitions>
+        <ColumnDefinition Width="3*">
+        </ColumnDefinition>
+        <ColumnDefinition Width="2*">
+        </ColumnDefinition>
+        <ColumnDefinition Width="1*">
+        </ColumnDefinition>
+	</Grid.ColumnDefinitions>
+	<local:MyButton Grid.Column="0" Padding="10,0" Text="刷新" EventType="刷新主页" Margin="3,0" ToolTip="点击刷新新闻主页" />
+	<local:MyButton Grid.Column="2" Padding="10,0" Text="反馈" EventType="打开网页" Margin="3,0" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 GitHub 提交反馈" />
+	<local:MyButton Grid.Column="1" Padding="10,0" Text="❤️ 赞助主页" EventType="打开网页" Margin="3,0" EventData="https://afdian.net/a/Nattiden" ToolTip="点击前往 新闻主页爱发电" ColorType="Red" />
+</Grid><Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
+  <StackPanel Margin="40,15,0,10">
+    <TextBlock Text="PCL2 新闻主页" FontSize="16" Margin="0,5,5,5" />
+    <TextBlock> 
+    By:最亮的信标(Light Beacon)<LineBreak/>
+    主要维护:最亮的信标(Light Beacon)<LineBreak/>
+    <LineBreak/>
+    订阅地址: 请通过 设置 - 主页 - 预设 - 新闻主页 订阅<LineBreak/>
+    爱发电赞助: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://afdian.net/a/Nattiden"
+    EventData="https://afdian.net/a/Nattiden" ToolTip="点击打开爱发电" /></Underline> <LineBreak/>
+    GitHub: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://github.com/Light-Beacon/PCL2-NewsHomepage"
+    EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage" ToolTip="点击打开GitHub" /></Underline> <LineBreak/>
+    <LineBreak/>
+    无特殊声明本主页采用 <Underline><local:MyTextButton Margin="0,0,0,-2" Text="CC BY-NC-SA 4.0" EventType="打开网页" 
+    EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/ "/></Underline> 授权。
+    <LineBreak/>
+    </TextBlock>
+    <Border Height="20500" Background="{DynamicResource ColorBrush7}" Opacity="0.3" Margin="-40,10,0,0">
+      <StackPanel>
+        <Grid Margin="0,7,0,15">
+          <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="1*">
+            </ColumnDefinition>
+            <ColumnDefinition Width="100">
+            </ColumnDefinition>
+            <ColumnDefinition Width="1*">
+            </ColumnDefinition>
+          </Grid.ColumnDefinitions>
+          <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
+          <TextBlock Text="到  底  啦" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
+          <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
+        </Grid>
+      </StackPanel>
+    </Border>
+  </StackPanel>
+</Border>
+</StackPanel>

Разница между файлами не показана из-за своего большого размера
+ 253 - 0
Test.xaml


Некоторые файлы не были показаны из-за большого количества измененных файлов