📄 default.aspx
字号:
<%@ Page AutoEventWireup="True" %>
<%@ OutputCache VaryByParam="fontsize;application" Duration="99999" %>
<%@ Import Namespace="CommunityServer.Components" %>
<script runat = "Server" Language = "C#">
private void page_load(object sender, EventArgs e)
{
Response.ContentType = "text/css";
if (Request.QueryString["application"] != String.Empty) {
switch ( Request.QueryString["application"] ) {
case "blogs":
blogs.Visible = true;
break;
case "galleries":
galleries.Visible = true;
break;
}
}
}
</script>
/*
Default Community Server theme
*****************************************************/
/*
Body: General page style
*****************************************************/
body
{
COLOR: #000000;
margin-top: 0px;
margin-left: 25;
margin-right: 25;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: <%= Formatter.FormatFontSize(1) %>;
background-color: #FFFFFF;
background: #C0BFBF url(<%= Globals.GetSkinPath() + "/images/bg_body.gif" %>) top left repeat-x;
}
h2 {
font-family: Trebuchet MS, Arial, Helvetica;
margin-top: 10px;
margin-bottom: -5px;
}
h3 {
font-family: Trebuchet MS, Arial, Helvetica;
font-weight: bold;
margin-top: 10px;
margin-bottom: 0px;
}
h4 {
font-family: Trebuchet MS, Arial, Helvetica;
font-weight: bold;
margin-top: 5px;
margin-bottom: 0px;
}
ul {
margin-top: 5px;
}
.download {
margin-bottom: 20px;
font-size: <%= Formatter.FormatFontSize(0.8) %>;
background-color:#E5F1EB;
border:2px solid #007236;
padding:10px;
}
#rightcolumn {
width: 250;
float: right;
font-size: <%= Formatter.FormatFontSize(0.9) %>;
padding-left: 15px;
}
#leftcolumn {
margin-right: 260px;
font-size: <%= Formatter.FormatFontSize(0.9) %>;
}
A.Button:link, A.Button:visited
{
BORDER-RIGHT: #C3DAF9 1px solid;
PADDING-RIGHT: 12px;
BORDER-TOP: #C3DAF9 1px solid;
DISPLAY: block;
PADDING-LEFT: 12px;
FONT-WEIGHT: bold;
BACKGROUND: #6798C7;
FLOAT: left;
PADDING-BOTTOM: 3px;
BORDER-LEFT: #C3DAF9 1px solid;
COLOR: #fff;
PADDING-TOP: 3px;
BORDER-BOTTOM: #C3DAF9 1px solid;
}
A.Button:hover
{
text-decoration: underline;
}
/*
Welcome
*****************************************************/
#welcome
{
margin-top: 5px;
margin-bottom: 5px;
color: #999999;
font-size: 12px;
text-align: right;
}
#welcome a
{
color: #999999;
font-weight: bold;
}
/*
Header
*****************************************************/
#header {
background:url(<%= Globals.GetSkinPath() + "/images/banner_left.gif" %>) no-repeat left top;
position:relative;
height:87px;
margin-bottom:4px;
padding-left:75px;
}
#header2 {
background:#6798C7 url(<%= Globals.GetSkinPath() + "/images/banner_right.gif" %>) no-repeat right top;
height:100%;
padding-right:17px;
}
#header3 {
height:100%;
}
#header h1
{
font-family: Trebuchet MS, Arial, Helvetica;;
font-size: <%= Formatter.FormatFontSize(1.6) %>;
margin: 0px;
padding-top: 12px;
font-weight: bold;
}
#header h1 a
{
color:#FFFFFF;
}
.headerDesc
{
color: #FFFFFF;
font-family: Trebuchet MS, Arial, Helvetica;;
font-size: <%= Formatter.FormatFontSize(.9) %>;
}
#csBody
{
margin-top: -5px;
background:#6798C7 url(<%= Globals.GetSkinPath() + "/images/body_right.gif" %>) no-repeat right bottom;
background-color: #FFFFFF;
}
#csBody2 {
background:url(<%= Globals.GetSkinPath() + "/images/body_left.gif" %>) no-repeat left bottom;
padding: 10px;
}
#search
{
position: absolute;
right: 27px;
top: 15px;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
}
/*
Search Results
*****************************************************/
#SearchResult em
{
padding-top: 8px;
margin:-.25em 0 0;
color:#ccc;
font:78%/1em Arial,Verdana,Sans-serif;
text-transform:lowercase;
font-style:normal;
color:#999;
margin-right:.6em;
padding-bottom: 5px;
}
#SearchResult h3
{
font-family : Arial, Helvetica;
font-weight: normal;
font-size: <%= Formatter.FormatFontSize(1.1) %>;
background-color: #FFFFFF;
margin:0px;
padding-bottom: 0;
}
#SearchResultBody
{
padding-bottom: 5px;
}
#SearchResultHr
{
border: 0px;
background-color: #99B6D7;
height: 1px;
}
#SearchResultBody
{
font-size: <%= Formatter.FormatFontSize(0.9) %>;
}
#SearchDuration
{
text-align: right;
background-color: #B3CAE4;
border-top: 1px solid #6798C7;
font-size: <%= Formatter.FormatFontSize(0.8) %>;
padding-bottom: 2px;
margin-bottom: 10px;
}
#SearchFooter
{
border-bottom: 1px solid #6798C7;
height: 5px;
margin-top: 10px;
margin-bottom: 10px;
}
#SearchTexbox
{
margin-top: 15px;
margin-bottom: 5px;
font-size: <%= Formatter.FormatFontSize(0.9) %>;
text-align: left;
}
/* Messages
*****************************************************/
.MessageError
{
margin-top: 10px;
font-family: Trebuchet MS, Arial, Helvetica;
font-size: <%= Formatter.FormatFontSize(1.0) %>;
font-weight: bold;
background-color:#FDE8E9;
border:2px solid #9E0B0E;
padding:2px;
color: #9E0B0E;
}
.MessageSuccess
{
margin-top: 20px;
margin-bottom: 20px;
font-family: Trebuchet MS, Arial, Helvetica;
font-size: <%= Formatter.FormatFontSize(1.0) %>;
font-weight: bold;
background-color:#E5F1EB;
border:2px solid #007236;
padding:2px;
color: #007236;
}
/*
H Level Headers
*****************************************************/
#BodyHead .h2Desc
{
font-size: <%= Formatter.FormatFontSize(0.9) %>;
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-bottom: 20px;
}
/*
Breadcrumb
*****************************************************/
.breadCrumb
{
font-size : <%= Formatter.FormatFontSize(0.8) %>;
}
/*
Ads
*****************************************************/
#BodyHead
{
padding-bottom: 20px;
}
/*
Ads
*****************************************************/
.adTop
{
text-align: center;
}
/*
Guestbook
*****************************************************/
.GuestBookBody
{
background:#FFF;
}
.postTable {
background-color: #C3DAF9;
border: 2px outset;
}
#navigator
{
text-align:right;
}
#wrap #navigator
{
text-align:center;
}
#navigator ul
{
margin: 0px 10px 0px 0px;
}
#navigator ul li
{
display: inline;
list-style: none;
}
pre.source
{
font-size: <%= Formatter.FormatFontSize(1) %>;
margin-left: 20px;
color: black;
font-family: Lucida Console, Courier New, Courier;
background-color: gainsboro;
}
body.admin /* Admin page style */
{
background-color: #DDEEFF;
}
image /* used to align text to images, centered */
{
vertical-align: middle;
}
.copyright /* used to format the content owner's copyright notice */
{
text-align: center;
font-size : <%= Formatter.FormatFontSize(0.6) %>;
font-style:italic;
}
/*****************************************************
Forum Name Title
*****************************************************/
/* em: unit of measurement for the height of the element's font, which is resolution independent */
.forumName /* text style for the main forum name */
{
font-family: Trebuchet MS, Arial, Helvetica;
font-size: <%= Formatter.FormatFontSize(1.4) %>;
font-weight: bold;
}
a.forumName:hover /* text style for when mouse hovers over main forum name */
{
color: #FF3300;
text-decoration: none;
}
.forumThread /* description of Forums on main page (underneath Forum Name) */
{
font-family: Trebuchet MS, Arial, Helvetica;
font-size: <%= Formatter.FormatFontSize(0.9) %>;
}
/*****************************************************
General Text
*****************************************************/
.txt1 { font-size : <%= Formatter.FormatFontSize(1) %>; }
.txt2 { font-size : <%= Formatter.FormatFontSize(0.9) %>; }
.txt3 { font-size : <%= Formatter.FormatFontSize(0.8) %>; }
.txt4 { font-size : <%= Formatter.FormatFontSize(0.8) %>; }
.txt5 { font-size : <%= Formatter.FormatFontSize(0.8) %>; }
.txt1Bold { font-size : <%= Formatter.FormatFontSize(1) %>; font-weight:bold; }
.txt2Bold { font-size : <%= Formatter.FormatFontSize(0.9) %>; font-weight:bold; }
.txt3Bold { font-size : <%= Formatter.FormatFontSize(0.8) %>;; font-weight:bold; }
.txt4Bold { font-size : <%= Formatter.FormatFontSize(0.8) %>; font-weight:bold; }
.txt5Bold { font-size : <%= Formatter.FormatFontSize(0.8) %>; font-weight:bold; }
.txt3red { font-size : <%= Formatter.FormatFontSize(0.8) %>; color: Red; }
.printDetails{ font-size : <%= Formatter.FormatFontSize(0.7) %>; }
.noTopics { font-size: <%= Formatter.FormatFontSize(0.7) %>; font-weight:bold; }
.dateText { font-size: <%= Formatter.FormatFontSize(0.7) %>; color: white; }
/* IRC Style Text */
.txtIrcMe { color:Fuchsia ; }
/*****************************************************
Tables
*****************************************************/
.tableBorder /* This is the outline round the main forum tables */
{
/* border: 1px #B2B2B2 solid; */
border: 1px outset;
background-color: #FFFFFF;
}
.moderationTable /* Moderation table */
{
border: 1px #FFFFFF solid;
background-color: #F1F1F1;
}
.adminTable /* Admin table */
{
background-color: #FFFFFF;
}
.quoteTable { /* This is the quote table, where quotes from previous posts are shown */
border:1px inset;
background-color: #EEF7FF;
}
.editTable { /* This is the edit notes table, shown when someone has edited a post, and this feature is enabled */
border: 1px inset;
color: Red;
background-color: #EEF7FF;
font-size: <%= Formatter.FormatFontSize(0.8) %>;
}
/*****************************************************
Table Header and cell definitions
*****************************************************/
td.column, tr.column td /* td.column is the main heading row of the table, shows either the table title, or the column headings, such as 'Posts', 'Last Post' etc. Top row of all tables. */
{
font-weight: bold;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
background-color: #6798C7;
COLOR: white;
vertical-align:top;
}
table.fh {
COLOR: #246398;
vertical-align:top;
font-size: <%= Formatter.FormatFontSize(1) %>;
background-color: #FFFFFF;
background-image: url(../images/fhBg.gif);
background-repeat: repeat-x;
}
div.column
{
font-weight: bold;
font-size: <%= Formatter.FormatFontSize(0.8) %>;
background-color: #78ABDE;
background-image: url(../images/forumColumnBackground.gif);
background-repeat: repeat-x;
COLOR: white;
padding:3px;
}
td.h1a /* td.h1a is the subheading row of the table, shows the names of Forum Groups on main page, or 'Announcements', 'Topics' on ShowForum page */
{
color: #4455aa;
font-size: <%= Formatter.FormatFontSize(0.8) %>;
font-weight:bold;
text-decoration: none;
background-image: url(../images/forumHeaderBackgroundAlternate.gif);
background-color: #E7E3E7;
background-repeat: repeat-x;
}
td.h1 /* td.h1 was the old subheading row of the table. This should probably be deleted as I don't think it is used anymore. */
{
color: white;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
font-weight:bold;
background-image: url(../images/forumHeaderBackground.gif);
background-color: #4455aa
}
td.f, tr.f td /* Forums column cells on main page; last post, replies, view cells on ShowForums page (shaded cells?) */
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
background-color: #BDCFDF;
}
td.f2
{
font-size: <%= Formatter.FormatFontSize(0.8) %>;
background-color: #DDEEFF;
}
td.fh /* forumRowHighlight - such as forumOptions, forumStatistics, WhoIsOnline boxes etc.*/
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
background-color: #FFFFFF;
background-image: url(../images/fhBg.gif);
background-repeat: repeat-x;
}
TD.fh2 /* used in Forums Statistics box to control size of text*/
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
}
TD.fh3 /* TD.fh3 is Threads, Posts cells on main table, Thread cells on ShowForum page (not shaded?) */
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
border-top: 1px solid #CADBEC;
border-left: 1px solid #CADBEC;
}
TD.fh3a /* TD.fh3a is Alternating table for Post Body in the PostView */
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
background-color: #F6FBFF;
border-top: 1px solid #DDEEFF;
border-left: 1px solid #DDEEFF;
}
TD.fh4 /* TD.fh4 is Last Post cells on main table (not shaded?) */
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
background-color: #FFFFFF;
border-top: 1px solid #CADBEC;
border-left: 1px solid #CADBEC;
}
/*****************************************************
Background color and text used in threaded view
*****************************************************/
td.threadTitle
{
background-color: #D4D9EC;
}
.threadDetailTextSmall
{
color: #0055E7;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
}
.threadDetailTextSmallBold
{
color: #0055E7;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
font-weight: bold;
}
/*****************************************************
General Anchors
*****************************************************/
a, a:visited, a:link /* General page anchors */
{
color: #246398;
text-decoration: none;
}
a:Hover /* General page anchors */
{
color: #FF3300;
text-decoration: underline;
}
a.linkSmallBold, a.linkMenuSink
{
font-weight: bold;
}
a.linkSmall, a.LinkSmallBold, a.linkMenuSink
{
color: navy;
font-size: <%= Formatter.FormatFontSize(0.7) %>;
}
a.linkSmallBold:visited, a.linkMenuSink:visited
{
color: #246398;
}
a.linkSmallBold:Hover, a.linkMenuSink:Hover
{
/* color: #DD6900; */
color: #FF3300;
}
a.lnk3, a.lnk3:visited, a.lnk3:link /* Active/Unanswered, name of forum underneath table */
{
font-size: <%= Formatter.FormatFontSize(0.9) %>;
font-weight: bold;
color: #246398;
}
a.lnk3:Hover
{
color: #FF3300;
text-decoration: underline;
}
a.lnk4, a.lnk4:visited, a.lnk4:link
{
font-size: <%= Formatter.FormatFontSize(0.9) %>;
color: #A3A3A3;
font-weight: bold;
}
a.lnk4:Hover
{
color: #FF3300;
text-decoration: underline;
}
/*****************************************************
Text and links used in ForumGroupRepeater and ForumRepeater
*****************************************************/
columnText, a.columnText, a.columnText:visited, a.columnText:link
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
color: white;
font-weight:bold;
}
a.columnText:hover
{
color: #FF3300;
}
a.column:visited, a.column:link, a.column:hover
{
color: white;
font-weight:bold;
}
.flnk3
{
font-weight: bold;
color: #246398;
}
a.flnk3:visited, a.flnk3:link
{
font-weight: bold;
color: #246398;
}
a.flnk3:hover
{
color: #FF3300;
}
.inlineLink /* Username in ShowPost, next to online status */
{
cursor:pointer;
color: #555555;
}
.inline
{
font-size: <%= Formatter.FormatFontSize(0.7) %>;
color: #555555;
}
/*****************************************************
Text and Anchor to display when a user is online
*****************************************************/
.userOnlineLink, a.userOnlineLink, a.userOnlineLink:Visited, a.userOnlineLink:Link
/* text style to show when a user is online */
{
font-weight: normal;
color: #246398;
}
a.userOnlineLinkBold:Hover
{
color: #FF3300;
}
.moderatorOnlineLinkBold, a.moderatorOnlineLinkBold, a.moderatorOnlineLinkBold:Visited, a.moderatorOnlineLinkBold:Link
/* text style to show when a moderator is online */
{
font-weight: bold;
color: darkBlue;
}
a.moderatorOnlineLinkBold:Hover
{
color: #FF3300;
}
.adminOnlineLinkBold, a.adminOnlineLinkBold, a.adminOnlineLinkBold:Visited, a.adminOnlineLinkBold:Link
/* text style to show when an administrator is online */
{
font-weight: bold;
color: Blue;
}
a.adminOnlineLinkBold:Hover
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -