瀏覽代碼

Update to style, index

tags/rls1
kenn408k 6 年之前
父節點
當前提交
098b01e635
共有 1 個檔案被更改,包括 24 行新增16 行删除
  1. 24
    16
      css/style.css

+ 24
- 16
css/style.css 查看文件

@@ -260,12 +260,20 @@ a:hover {
260 260
     float:left;
261 261
     font-size:12px;
262 262
     font-weight:normal;
263
-    
263
+
264 264
     text-overflow: ellipsis;
265 265
     overflow: hidden;
266 266
     height:70px;
267 267
 }
268 268
 
269
+.event-left h1 {
270
+    max-width:250px;
271
+    overflow:hidden;
272
+    white-space: nowrap;
273
+    overflow: hidden;
274
+    text-overflow: ellipsis;
275
+}
276
+
269 277
 .event-left p {
270 278
     text-overflow: ellipsis;
271 279
     overflow: hidden; 
@@ -556,29 +564,29 @@ a:hover {
556 564
 /* Sitemap */
557 565
 
558 566
 .sitemap ul {
559
-  padding: 0;
560
-  margin: 0;
561
-  list-style-type: none;
562
-  position: relative;
567
+    padding: 0;
568
+    margin: 0;
569
+    list-style-type: none;
570
+    position: relative;
563 571
 }
564 572
 .sitemap li {
565
-  border-left: 2px solid #FFF;
566
-  margin-left: 1em;
567
-  padding-left: 1em;
568
-  position: relative;
573
+    border-left: 2px solid #FFF;
574
+    margin-left: 1em;
575
+    padding-left: 1em;
576
+    position: relative;
569 577
 }
570 578
 .sitemap li li {
571
-  margin-left: 0;
579
+    margin-left: 0;
572 580
 }
573 581
 .sitemap li::before {
574
-  content:'┗';
575
-  color: #FFF;
576
-  position: absolute;
577
-  top: -5px;
578
-  left: -9px;
582
+    content:'┗';
583
+    color: #FFF;
584
+    position: absolute;
585
+    top: -5px;
586
+    left: -9px;
579 587
 }
580 588
 .sitemap ul > li:last-child {
581
-  border-left: 2px solid transparent;
589
+    border-left: 2px solid transparent;
582 590
 }
583 591
 .sitemap i {
584 592
     margin-right:5px;

Loading…
取消
儲存