草庐IT

学校官网的制作

记忆523 2023-04-12 原文

学校官网

代码

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			.top{
				background-color: #3D3BB8;
				width: 100%;
				position: fixed;
				padding: 20px 0 12px 0;
			}
			.box{
				width: 75%;
				height: 80px;
				margin: 0 auto;
			}
			.logo{
				width: 326.2px;
				height: 58.8px;	
				float: left;
				margin-top: 10px;
			}
			.right{
				float: left;
			}
			.logo img{
				display: block;
				width: 326.2px;
				height: 58.8px;				
			}
			.right div:nth-child(1){
				margin-left: 528px;
				position: relative;
			}
			.right div:nth-child(2){
				height: 27px;
				margin-top: 25px;
			}
			.right div:nth-child(1) input{
				padding: 11px 70px 11px 40px;
				border-radius: 23px;

			}
			.right div:nth-child(1) button{
				background-image: url("https://www.scauzj.edu.cn/wp-content/themes/hnny/img/ser_btn.png");
				width: 20px;
				height: 20px;
				position: absolute;
				left: 210px;
				top: 25%;
				border: none;
				background-color: white;
			}
			.right_two li{
				list-style: none;
				float: left;
				text-align: center;
				font-size: 13px;
				color: white;
				margin-left: 30px;
				position: relative;
			}
			.one, .one img{
				width: 100%;
				display: block;
			}
			.two{
				width: 100%;
				height: 795px;
				background-repeat: no-repeat;
				background-position: right;
				background-image: url("https://www.scauzj.edu.cn/wp-content/themes/hnny/img/home_index1_bg.png");
			}
			
			.two_box{
				width: 75%;
/* 				height: 795px; */
				margin: 0 auto;
/* 				padding: 88px 0; */
			}
			.two_box ul{
				list-style: none;
				float: right;
				margin-right: 12px;
			}
			.two_box ul li{
				float: left;
				margin-left: 35px;
				font-size: 18px;
			}
			.box_one{
				margin-top: 50px;
			}
			.box_one div:nth-child(1){
				width: 400px;
				height: 400px;
				float: left;
			}
			.box_one div:nth-child(2), .box_one div:nth-child(2) ul{
				float: left;
				width: 725px;
				height: 530px;
			}
			.box_one div:nth-child(1) img{
				width: 400px;
				height: 400px;
			}
			.box_one div:nth-child(2) li{
				margin-bottom: 30px;
				height: 79px;
				width: 100%;
			}
			.time{
				height: 79px;
				width: 65px;
				background-color: blue;
				display: inline-block;
				color: white;
				float: left;
			}
			.time i{
				font-size: 36px;
				margin-left: 8px;
			}
			.time em{
				font-size: 15px;
				margin-left: 2px;
			}
			.text{
				width: 600px;
				height: 79px;
				display: inline-block;
				float: left;
				font-size: 15px;
				margin-left: 24px;
			}
			.text:hover{
				color: blue;
			}
			.three{
				height: 125px;
				width: 400px;
				float: left;
				text-align: center;
				position: relative;
			}
			.three span{
				font-size: 40px;
				position: absolute;
				top: -20px;
				left: 141px;
				color: rgba(0, 0, 0, 0.2);
			}
			.three h2::after{
				content: '';
				width: 100px;
				height: 9px;
				background-color: blue;
				border-radius: 10px;
				display: block;
				position: absolute;
				left: 150px;
				margin-top: 5px;
			}
			.four{
				width: 100%;
				height: 795px;
				padding: 50px 0;
				background-image: url("https://www.scauzj.edu.cn/wp-content/themes/hnny/img/home_index2_bg.png");
			}
			.title_one span{
				display: block;
				text-align: center;
			}
			.title_one span:nth-child(1){
				font-size: 22px;
				font-weight: 900;
				color: rgba(255, 255, 255, 0.7);
			}
			.title_one span:nth-child(2){
				font-size: 19px;
				font-weight: 900;
			}
			.four .title_one::after{
				content: '';
				width: 80px;
				height: 9px;
				background-color: blue;
				border-radius: 10px;
				display: block;
				position: absolute;
				left: 720px;
				margin-top: 5px;
			}
			video{
				width: 100%;
			}
			.title_two{
				width: 100%;
				height: 520px;
				margin-top: 44px;
			}
			video{
				height: 100%;
			}
			.top_list{
				width: 112px;
				position: absolute;
				right: -30px;
				background-color: white;
				margin-top: 21px;
				display: none;
			}
			.top_list li{
				color: black;
				font-size: 15px;
				margin-left: 25px;
				margin-top: 10px;
			}
			.top_list li:hover{
				color: blue;
			}
			.right_two li:hover .top_list{
				display: block;
			}
		</style>
	</head>
	<body>
		<div class="top">
			<div class="box">
				<div class="logo">
					<img src="https://www.scauzj.edu.cn/wp-content/uploads/sites/20/2022/11/%E4%B8%BB%E9%A1%B5logo.png" alt="加载失败">
				</div>
				<div class="right">
					<div>
						<form action="#">
							<input type="text" placeholder="请输入搜索内容">
							<button></button>
						</form>
					</div>
					<div class="right_two">
						<ul>
							<li>首页</li>
							<li>
								学校概况
								<ul class="top_list">
									<li>学校简介</li>
									<li>现任领导</li>
									<li>校长寄语</li>
									<li>师资队伍</li>
									<li>校园风光</li>
									<li>华珠大事记</li>
									<li>华珠荣誉</li>
									<li>专业介绍</li>
								</ul>
							</li>
							<li>信息公开专栏</li>
							<li>
								机构设置
								<ul class="top_list">
									<li>行政部门</li>
									<li>二级学院</li>
								</ul>
							</li>
							<li>党建网</li>
							<li>教务管理</li>
							<li>
								招生就业
								<ul class="top_list">
									<li>招生网</li>
									<li>小北就业</li>
								</ul>
							</li>
							<li>OA管理</li>
							<li>
								数字资源
								<ul class="top_list" style="width: 165px; right: -50px;">
									<li>数字图书资源</li>
									<li>图书系统</li>
									<li>图书搜索</li>
									<li>资产系统</li>
									<li>在线教学平台</li>
									<li>京广图书</li>
									<li>五车图书</li>
									<li>学工管理</li>
									<li>数字化实习实训平台</li>
									<li>实训平台</li>
									<li>校友系统</li>
									<li>心理测评</li>
								</ul>
							</li>
							<li>加入我们</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="one">
			<div>
				<img src="https://www.scauzj.edu.cn/wp-content/uploads/sites/20/2022/11/111-1-scaled.jpg" alt="加载失败">
			</div>	
		</div>
		<div class="two">
			<div class="two_box" style="height: 795px; padding: 88px 0;">
				<ul>
					<li>新闻头条</li>
					<li>部门动态</li>
					<li>学院通告</li>
				</ul>
				<div class="box_one">
					<div>
						<img src="https://www.scauzj.edu.cn/wp-content/uploads/sites/20/2023/03/1-8.jpg" alt="加载失败">
					</div>
					<div>
						<ul>
							<li>
								<span class="time">
									<i>21</i>
									<em>2023.03</em>
								</span>
								<span class="text">
									<strong>华珠信息工程学院举办“随机建模与联邦学习框架的研究”学术论坛</strong>
								</span>
							</li>
							<li>
								<span class="time">
									<i>20</i>
									<em>2023.03</em>
								</span>
								<span class="text">
									<strong>热土之上,“乡”遇未来 | 华珠第十四届主持人大赛决赛精彩来袭!</strong>
								</span>
							</li>
							<li>
								<span class="time">
									<i>19</i>
									<em>2023.03</em>
								</span>
								<span class="text">
									<strong>资讯速递 | 华珠2023届毕业生春季空中双选会助力就业</strong>
								</span>								
							</li>
							<li>
								<span class="time">
									<i>18</i>
									<em>2023.03</em>
								</span>
								<span class="text">
									<strong>职场直通车 | 广东省2023届高校毕业生线下校园双选会华珠站入驻企业招募中</strong>
								</span>								
							</li>
						</ul>
					</div>
					<div class="three">
						<h2>
							新闻头条
						</h2>
						<span>NEWS</span>
					</div>
				</div>
			</div>
		</div>
		<div class="four">
			<div class="two_box" style="height: 618px; ">
				<div class="title_one">
					<span>VIDEO SHOW</span>
					<span>视频展播</span>
				</div>
				<div class="title_two">
					<video src="https://www.scauzj.edu.cn/wp-content/uploads/sites/20/2022/11/2022迎新花絮-1.mp4" controls="controls"></video>
				</div>
			</div>
		</div>
	</body>
</html>

有关学校官网的制作的更多相关文章

  1. Unity 3D 制作开关门动画,旋转门制作,推拉门制作,门把手动画制作 - 2

    Unity自动旋转动画1.开门需要门把手先动,门再动2.关门需要门先动,门把手再动3.中途播放过程中不可以再次进行操作觉得太复杂?查看我的文章开关门简易进阶版效果:如果这个门可以直接打开的话,就不需要放置"门把手"如果门把手还有钥匙需要旋转,那就可以把钥匙放在门把手的"门把手",理论上是可以无限套娃的可调整参数有:角度,反向,轴向,速度运行时点击Test进行测试自己写的代码比较垃圾,命名与结构比较拉,高手轻点喷,新手有类似的需求可以拿去做参考上代码usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;u

  2. 动漫制作技巧如何制作动漫视频 - 2

    动漫制作技巧是很多新人想了解的问题,今天小编就来解答与大家分享一下动漫制作流程,为了帮助有兴趣的同学理解,大多数人会选择动漫培训机构,那么今天小编就带大家来看看动漫制作要掌握哪些技巧?一、动漫作品首先完成草图设计和原型制作。设计草图要有目的、有对象、有步骤、要形象、要简单、符合实际。设计图要一致性,以保证制作的顺利进行。二、原型制作是根据设计图纸和制作材料,可以是手绘也可以是3d软件创建。在此步骤中,要注意的问题是色彩和平面布局。三、动漫制作制作完成后,加工成型。完成不同的表现形式后,就要对设计稿进行加工处理,使加工的难易度降低,并得到一些基本准确的概念,以便于后续的大样、准确的尺寸制定。四、

  3. ruby - 如何在ruby中制作动态多维数组? - 2

    我有一个关于多维数组的初学者ruby​​问题。我想按年份和月份对条目进行排序。所以我想创建一个包含年->月->月条目的多维数组所以数组应该是这样的:2009->08->Entry1->Entry209->Entry32007->10->Entry5现在我有:@years=[]@entries.eachdo|entry|timeobj=Time.parse(entry.created_at.to_s)year=timeobj.strftime("%Y").to_imonth=timeobj.strftime("%m").to_itmparr=[]tmparrentry}@years.pu

  4. ruby - 如何在不使用 HERE-DOCUMENT 语法的情况下在 Ruby 中制作多行字符串文字? - 2

    问题总结我想尝试使用Ruby来完成我在Python中所做的事情。在Python中它有r"""syntaxtosupportrawstrings,这很好,因为它允许将原始字符串与代码内联,并以更自然的方式连接它们,而无需特殊缩进。在Ruby中,当使用原始字符串时,必须使用其次是EOT在单独的行中,这会破坏代码布局。你可能会问,为什么不使用Ruby的%q{}?嗯,因为%q{}与Python的r"""相比有局限性因为它不会转义多个\\\并且只处理单个\.我正在动态生成Latex代码并写入一个文件,该文件稍后用pdflatex编译。Latex代码包含类似\\\的内容在许多地方。如果我使用Rub

  5. ruby - 如何制作 Ruby 1.8 小写非拉丁字符? - 2

    我正在使用Ruby1.8。似乎downcase不会改变非拉丁字符。例如:"Δ".downcase返回“Δ”我知道在Ruby1.9.1及更高版本中,我可以使用UnicodeUtils(fromhere)。我试过了,它工作正常。返回上一个示例的"δ"。是否有适用于1.8Ruby的等效(或任何)解决方案? 最佳答案 nash@nash:~$ruby-vruby1.8.7(2011-02-18patchlevel334)[i686-linux]gem安装unicode(https://rubygems.org/gems/unicode)re

  6. ruby - 如何使用 pager 制作 ruby​​ 命令行应用程序? - 2

    我正在使用Ruby制作一个命令行工具。它将在屏幕上打印大量文本。目前,我正在使用shell管道(may_app|more)来执行此操作。但我认为最好有一个默认的寻呼机。就像你在执行gitlog时看到的一样。可以使用git--nopagerlog禁用寻呼机。我已经完成了大量的谷歌工作并找到了一颗gem:hirb,但似乎有点矫枉过正。经过多次尝试,我目前正在使用shellwrapper来这样做:#!/bin/bash#xray.rbisthecorescript#doingthemainlogicandwill#outputmanyrowsoftexton#screenXRAY=$HOME

  7. ruby - 制作命令行程序 "full screen" - 2

    我想知道如何在shell中创建“全屏”窗口的外观,如在vim、emacs等中。是否可以在Ruby中以编程方式执行此操作?这对平台的依赖程度如何?编辑:我不是在寻找如何让我的shell进入全屏模式。我正在寻找一种方法来隐藏以前输入的命令并用应用程序“填充”shell屏幕。它适用于安装程序。 最佳答案 您可能正在寻找的是ncurses或S-Lang支持提供你的全TUI经验。Ruby的gem环境提供了几个可能值得探索的gem:$gemlist--remote|grep-icursescursesx(003)ffi-ncurses(0.4.

  8. ruby - 如何制作同时针对 MRI 和 JRuby 的 gem? - 2

    我想制作一个gem,当其他人尝试将它与MRI一起使用时,它将使用C代码,而当他们从JRuby中使用它时,它将使用Java代码。nokogiri和pumagems就是这样做的,我看过他们的代码,但没有看到他们是如何实现的。 最佳答案 这是通过使用rvm(或其他类似工具在rubies之间切换)和rake-compiler为您针对的不同平台交叉编译gem来完成的。.gemspec文件必须指定每个平台所需的文件;这是通过检查gem正在编译的平台来完成的:Gem::Specification.newdo|gem|#...ifRUBY_PLAT

  9. ruby-on-rails - 如何使用连接表制作多模型 tag_cloud? - 2

    我有一个连接表create_table"combine_tags",force:truedo|t|t.integer"user_id"t.integer"habit_id"t.integer"valuation_id"t.integer"goal_id"t.integer"quantified_id"end其目的是让tag_cloud为多个模型工作。我把它放在application_controllerdeftag_cloud@tags=CombineTag.tag_counts_on(:tags)end我的tag_cloud看起来像这样:css_class%>#orthisdepen

  10. 【Chano的SFM教程】3dmax 面部表情.VTA基本制作教程 - 2

    本篇教程作者为:小鸟Chano,转载请表明作者和出处:CSDN欢迎观看本次教程本教程将会为你演示使用3DMAX制作一个基本的SFM表情控制器【表情滑条】并导入SFM进行使用。Chano自己也是近期才掌握的这项知识,所以过程中可能有很多迷之操作和瑕疵还请见谅哈^^~1、操作过程首先,请转到wunderboy网站。获取我们需要的插件,下载并安装**“3DSMaxVTAexportplug-in”**(1)如何安装?只需将其放入plugins文件夹,你也可以在这里找到其他相关插件,比如SMD导入导出、VTF插件。温馨提示:本教程不包含任何有关MAX的基本操作知识。本教程全程没有语音讲解,如条件不允许

随机推荐