diff --git a/Sevomin.News/Web.config b/Sevomin.News/Web.config
index da216e1..f6ffa6f 100644
--- a/Sevomin.News/Web.config
+++ b/Sevomin.News/Web.config
@@ -24,7 +24,7 @@
-
+
diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.eot b/Sevomin.News/css/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from Sevomin.News/fonts/glyphicons-halflings-regular.eot
rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.eot
diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.svg b/Sevomin.News/css/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from Sevomin.News/fonts/glyphicons-halflings-regular.svg
rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.svg
diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.ttf b/Sevomin.News/css/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from Sevomin.News/fonts/glyphicons-halflings-regular.ttf
rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.ttf
diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.woff b/Sevomin.News/css/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from Sevomin.News/fonts/glyphicons-halflings-regular.woff
rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.woff
diff --git a/Sevomin.News/themes/Sevomin/Post.cshtml b/Sevomin.News/themes/Sevomin/Post.cshtml
index bd59fe3..f7c4730 100644
--- a/Sevomin.News/themes/Sevomin/Post.cshtml
+++ b/Sevomin.News/themes/Sevomin/Post.cshtml
@@ -8,52 +8,50 @@
}
else
{
-
-
+
+
+
@Html.Raw(Model.Content)
- @if (Blog.CurrentPost != null)
- {
-
- if (Model.AreCommentsOpen(Context))
- {
- @RenderPage("~/views/CommentForm.cshtml")
+ if (Model.AreCommentsOpen(Context))
+ {
+ @RenderPage("~/views/CommentForm.cshtml")
+ }
}
- }
@helper Categories()
{
if (Model.Categories.Length > 0)
{
-
- - Posted in:
+
+ - ارسال شده در:
@foreach (string cat in Model.Categories)
{
-
diff --git a/Sevomin.News/themes/Sevomin/common.css b/Sevomin.News/themes/Sevomin/common.css
index efada67..1e17802 100644
--- a/Sevomin.News/themes/Sevomin/common.css
+++ b/Sevomin.News/themes/Sevomin/common.css
@@ -1,45 +1,43 @@
@font-face {
- font-family: 'Koodak';
- src: url('/fonts/BKoodakBold.eot?#') format('eot'), /* IE6–8 */
- url('/fonts/BKoodakBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
- url('/fonts/BKoodakBold.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
+ font-family: 'Koodak';
+ src: url('/fonts/BKoodakBold.eot?#') format('eot'), /* IE6–8 */
+ url('/fonts/BKoodakBold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
+ url('/fonts/BKoodakBold.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}
+
@font-face {
font-family: 'Yekan';
src: url('/fonts/WebYekan.eot');
- src: url('/fonts/WebYekan.eot?#iefix') format('embedded-opentype'),
- url('/fonts/WebYekan.woff') format('woff'),
- url('/fonts/WebYekan.ttf') format('truetype'),
- url('/fonts/WebYekan.svg#WebYekan') format('svg');
+ src: url('/fonts/WebYekan.eot?#iefix') format('embedded-opentype'), url('/fonts/WebYekan.woff') format('woff'), url('/fonts/WebYekan.ttf') format('truetype'), url('/fonts/WebYekan.svg#WebYekan') format('svg');
font-weight: normal;
font-style: normal;
unicode-range: U+0600–06FF;
}
-body{
+body {
font-family: Yekan, "Helvetica Neue",Helvetica,Arial,sans-serif;
padding: 60px;
}
-h1, h2, h3, h4, h5, h6{
- font-family: Koodak, "Helvetica Neue",Helvetica,Arial,sans-serif;
+h1, h2, h3, h4, h5, h6 {
+ font-family: Koodak, "Helvetica Neue",Helvetica,Arial,sans-serif;
}
-.rtl{
+.rtl {
direction: rtl !important;
text-align: right !important;
}
-.ltr{
+.ltr {
direction: ltr !important;
text-align: left !important;
}
-.center-text{
+.center-text {
text-align: center !important;
}
-th{
+th {
text-align: right;
}
@@ -62,33 +60,33 @@ th{
padding: 10px 15px 0px 15px !important;
}*/
-.navbar-brand img{
+.navbar-brand img {
height: 25px;
}
-.job-list-top-toolbar, .job-list-bottom-toolbar{
+.job-list-top-toolbar, .job-list-bottom-toolbar {
text-align: left !important;
}
-.job-list-top-toolbar{
- padding: 0px 10px 10px 0px;
+.job-list-top-toolbar {
+ padding: 0px 10px 10px 0px;
margin-bottom: 5px;
}
-.job-list-bottom-toolbar{
- padding: 10px 10px 0px 0px;
+.job-list-bottom-toolbar {
+ padding: 10px 10px 0px 0px;
}
-.job-list-bottom-toolbar .date{
- float: right;
-}
+ .job-list-bottom-toolbar .date {
+ float: right;
+ }
-#login-intro-text{
+#login-intro-text {
line-height: 1.5em;
font-size: 1.3em;
}
-#login-intro-box{
+#login-intro-box {
border-radius: 5px;
border: 1px solid #808080;
margin: 10px;
@@ -96,11 +94,15 @@ th{
background: #dcdcdc;
}
-.footer{
+.footer {
padding-top: 40px;
padding-bottom: 40px;
margin-top: 100px;
color: #777;
text-align: center;
border-top: 1px solid #e5e5e5;
-}
\ No newline at end of file
+}
+
+.post header div .categories li {
+ display: inline;
+}
diff --git a/Sevomin.News/views/CommentForm.cshtml b/Sevomin.News/views/CommentForm.cshtml
index 374457e..00b8511 100644
--- a/Sevomin.News/views/CommentForm.cshtml
+++ b/Sevomin.News/views/CommentForm.cshtml
@@ -1,37 +1,36 @@
-
Comments
- } + @if (Blog.CurrentPost != null) + { +نظرات
+ } - @foreach (Comment comment in Model.Comments) - { - if (comment.IsApproved || !Blog.ModerateComments || Context.User.Identity.IsAuthenticated) + @foreach (Comment comment in Model.Comments) { - @RenderPage("Comment.cshtml", comment) + if (comment.IsApproved || !Blog.ModerateComments || Context.User.Identity.IsAuthenticated) + { + @RenderPage("Comment.cshtml", comment) + } } - } -