Wednesday, April 2, 2008

CSS Test

This is just a test for the blog's CSS.


// comment
static class Program
{
   [STAThread]
   static void Main()
   {
       Application.EnableVisualStyles();
       Application.SetCompatibleTextRenderingDefault(false);
       Application.Run(new Form1());
  }
}

2 comments:

Anonymous said...

HI .. am from FCIS sana oola ,can u show the blog`s CSS file , to share experience , and give some comments on the css code ?

Eslam Afifi said...

Sorry for the late reply. I, at first, thought you wanted to learn CSS. That's why I posted references to HTML and CSS. But, you wanted to know the CSS I've used to colorize the code. You can always view the source of the page. Here is the code, I just wrote the necessary parts for colorizing code but in the future (isa), more styles may be added.
Thank you for reading the blog and for the comment.

.Code {
background: #ffffff;
color: #000000;
font-size : 10pt;
font-family: 'Courier New';
}.Code.Comment {
color: #008000;
}
.Code.Identifier {
color: #000000;
}
.Code.Keyword {
color: #0000ff;
}
.Code.Number {
color: #000000;
}
.Code.Operator {
color: #000000;
}
.Code.PreprocessorKeyword {
color: #0000ff;
}
.Code.String {
color: #a31515;
}
.Code.String.C#.@Verbatim {
color: #a31515;
}
.Code.UserKeywords {
color: #0000ff;
}
.Code.UserTypes {
color: #2b91af;
}
.Code.UserTypes.Delegates {
color: #2b91af;
}
.Code.UserTypes.Enums {
color: #2b91af;
}
.Code.UserTypes.Interfaces {
color: #2b91af;
}
.Code.UserTypes.ValueTypes {
color: #2b91af;
}