这是测试站点!!!!

不要保存重要内容!不要保存重要内容!不要保存重要内容!不要保存重要内容!不要保存重要内容!

模板:SaturnForum/common.css:修订间差异

来自Limbo Wiki
晨茗biu~​(留言 | 贡献)
无编辑摘要
标签:手工回退 (旧)WikiEditor
晨茗biu~​(留言 | 贡献)
小 一些代码优化
标签:(旧)WikiEditor
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
.SaturnForum-Maincontainer{
        .SaturnForum-Maincontainer {
  position: relative;
            display: grid;
  display: flex;
            width: 95%;
  flex-direction: column;
            min-width: 200px;
  width: 80%;
            max-width: 1100px;
  min-width: 200px;
            min-height: 300px;
  max-width: 1000px;
            grid-template-columns: 100px 2px 1fr 1fr;
  min-height: 300px;  
            grid-template-rows: minmax(40px,auto) 2px 80px minmax(136px,auto) 2px minmax(40px,auto);
  background-color: #f0f0f0;
            grid-template-areas:
  margin: 0 auto;
                "logo line-left-top time floor"
}
                "line-top line-top line-top line-top"
.SaturnForum-logo {
                "portrait line-left-center text text"
  position: absolute;
                "user line-left-center text text"
  width: 96px;  
                "line-bottom line-bottom line-bottom line-bottom"
  height: 32px;
                ". line-left-bottom reaction reaction";
  left:12px;
            background-color: #f0f0f0;
  top:4px;
            margin: 0 auto;
}
        }
.SaturnForum-portrait {
        .SaturnForum-logo {
  background-color: rgba(98,92,93,255);
            grid-area: logo;
  margin-top: 10px;
            justify-self: center;
  margin-left: 30px;
            align-self: center;
  height: 60px;
        }
  width: 60px;
        .SaturnForum-logo img {
  display: flex;
            max-width: 100%;
  order: 2;  
            height: auto;
}
            display: block;
.SaturnForum-user {
        }
  width: 90px;
        .SaturnForum-line-top,
  height: auto;
        .SaturnForum-line-bottom,
  text-align: center;
        .SaturnForum-line-left-top,
  padding: 15px;
        .SaturnForum-line-left-center,
  text-decoration: none;
        .SaturnForum-line-left-bottom {
  transition: all 0.1s ease;
            background-color: #626262;
  cursor: pointer;
        }
  word-break: break-all;
        .SaturnForum-line-top { grid-area: line-top; }
  order: 2;
        .SaturnForum-line-bottom { grid-area: line-bottom; }
}
        .SaturnForum-line-left-top { grid-area: line-left-top; }
.SaturnForum-user:hover {
        .SaturnForum-line-left-center { grid-area: line-left-center; }
  color: #3498db;
        .SaturnForum-line-left-bottom { grid-area: line-left-bottom; }
  text-decoration: underline;  
        .SaturnForum-portrait {
}
            grid-area: portrait;
            background-color: #625C5D;
            height: 60px;
            width: 60px;
            justify-self: center;
            align-self: center;
        }
        .SaturnForum-user {
            grid-area: user;
            justify-self: center;
            text-align: center;
            transition: color 0.1s ease;
            cursor: pointer;
            word-break: break-all;
            margin-left: 15px;
            margin-right: 15px;
        }


.SaturnForum-line-top {
            .SaturnForum-user:hover {
  position: relative;
                color: #3498db;
  width: 100%;
                text-decoration: underline;
  height: 2px;
            }
  background-color: rgba(98,98,98,255);
        .SaturnForum-time,
  order: 1;
        .SaturnForum-floor {
}
            align-self: center;
.SaturnForum-line-left {
            font-size: 0.85rem;
  position: absolute;
            word-break: break-all;
  left: 120px;
        }
  height: 100%;
        .SaturnForum-time {
  width: 2px;
            grid-area: time;
  background-color: rgba(98,98,98,255);
            justify-self: start;
}
            text-align: left;
.SaturnForum-line-bottom {
            margin-left: 10px;
  position: relative;  
        }
  width: 100%;
        .SaturnForum-floor {
  height: 2px;
            grid-area: floor;
  background-color: rgba(98,98,98,255);
            justify-self: end;
  margin-bottom: 40px;
            text-align: right;
  order: 3;
            margin-right: 10px;
}
        }
.SaturnForum-header-container {
        .SaturnForum-text {
  display: flex;
            grid-area: text;
  flex-direction: row;
            font-size: 0.95rem;
  flex-wrap: nowrap;
            word-break: break-all;
  width: 95%;
            overflow: auto;
  justify-content: flex-start;
            margin: 5px;
  align-items: flex-start;
            line-height: 1.35;
  order: 0;  
        }
  margin: 0 auto;  
        .SaturnForum-reaction {
}
            display: grid;
.SaturnForum-time {
            grid-area: reaction;
  position: static;
            grid-template-columns: 50px 20px 1fr;
  text-align: left;
            grid-template-areas:
  padding: 10px;  
                "reference ping report";
  padding-left: 120px;
        }
  margin-right: 10px;  
        .SaturnForum-reference,
  font-size: 0.85rem;
        .SaturnForum-ping,
  word-break: break-word;  
        .SaturnForum-report {
}
            justify-self: center;
.SaturnForum-floor {
            align-self: center;
  position: static;  
            text-align: center;
  text-align: right;
            margin: 10px;
  padding: 10px;  
            font-size: 0.85rem;
  padding-right: 10px;
            color: #3498db;
  margin-left: auto;      
            transition: color 0.3s ease;
  font-size: 0.85rem; 
            cursor: pointer;
  word-break: break-word;
        }
  min-width: 25px;  
        .SaturnForum-reference { grid-area: reference; }
}
        .SaturnForum-ping { grid-area: ping; }
.SaturnForum-refence {
         .SaturnForum-report {
  position: absolute;
            grid-area: report;
  bottom: 10px;         
            justify-self: right;
  left: 120px;        
        }
  height: 10px;
        .SaturnForum-reference:hover,
  text-align: center;  
        .SaturnForum-ping:hover,
  padding: 10px;
        .SaturnForum-report:hover {
  font-size: 0.85rem;
            color: #e74c3c;
  color: #3498db;
            text-decoration: underline;
  text-decoration: none;
        }
  transition: all 0.3s ease;  
        .SaturnForum-reference:focus,
  cursor: pointer;
         .SaturnForum-ping:focus,
}
        .SaturnForum-report:focus {
.SaturnForum-refence:hover {
            outline: 2px solid #3498db;
  color: #e74c3c;
            outline-offset: 2px;
  text-decoration: underline;
            border-radius: 2px;
}
        }
.SaturnForum-ping{
        @media (max-width: 400px) {
  position: absolute;
            .SaturnForum-Maincontainer {
  bottom: 11px;         
                grid-template-columns: 100px 1fr;
  left: 160px;          
                grid-template-rows: 40px 2px 80px minmax(30px,auto) 2px minmax(150px,auto) 2px minmax(40px,auto);
  height: 10px;  
                grid-template-areas:
  text-align: center;
                    "logo logo"
  padding: 10px;
                    "line-left-top line-left-top"
  font-size: 0.85rem;
                    "portrait time"
  color: #3498db;
                    "user floor"
  text-decoration: none;
                    "line-top line-top"
  transition: all 0.3s ease;
                    "text text"
  cursor: pointer;
                    "line-bottom line-bottom"
}
                    "reaction reaction";
.SaturnForum-ping:hover{
            }
  color: #e74c3c;
            .SaturnForum-time {
  text-decoration: underline;
                justify-self: end;
}
                text-align: right;
.SaturnForum-report {
                margin-right: 10px;
  position: absolute;
            }
  bottom: 10px;         
        }
  right: 10px;          
  height: 10px;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  color: #3498db;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;  
}
.SaturnForum-report:hover {
  color: #e74c3c;
  text-decoration: underline;  
}
.SaturnForum-text {
  position: static;
  flex: 1;
  align-self: stretch;
  margin: -105px 15px 10px 135px;
  font-size: 1rem;
  word-break: break-all;
  overflow: auto;
  line-height: 2;
  order: 2;
}

2026年8月1日 (六) 22:38的最新版本

        .SaturnForum-Maincontainer {
            display: grid;
            width: 95%;
            min-width: 200px;
            max-width: 1100px;
            min-height: 300px;
            grid-template-columns: 100px 2px 1fr 1fr;
            grid-template-rows: minmax(40px,auto) 2px 80px minmax(136px,auto) 2px minmax(40px,auto);
            grid-template-areas:
                "logo line-left-top time floor"
                "line-top line-top line-top line-top"
                "portrait line-left-center text text"
                "user line-left-center text text"
                "line-bottom line-bottom line-bottom line-bottom"
                ". line-left-bottom reaction reaction";
            background-color: #f0f0f0;
            margin: 0 auto;
        }
        .SaturnForum-logo {
            grid-area: logo;
            justify-self: center;
            align-self: center;
        }
        .SaturnForum-logo img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .SaturnForum-line-top,
        .SaturnForum-line-bottom,
        .SaturnForum-line-left-top,
        .SaturnForum-line-left-center,
        .SaturnForum-line-left-bottom {
            background-color: #626262;
        }
        .SaturnForum-line-top { grid-area: line-top; }
        .SaturnForum-line-bottom { grid-area: line-bottom; }
        .SaturnForum-line-left-top { grid-area: line-left-top; }
        .SaturnForum-line-left-center { grid-area: line-left-center; }
        .SaturnForum-line-left-bottom { grid-area: line-left-bottom; }
        .SaturnForum-portrait {
            grid-area: portrait;
            background-color: #625C5D;
            height: 60px;
            width: 60px;
            justify-self: center;
            align-self: center;
        }
        .SaturnForum-user {
            grid-area: user;
            justify-self: center;
            text-align: center;
            transition: color 0.1s ease;
            cursor: pointer;
            word-break: break-all;
            margin-left: 15px;
            margin-right: 15px;
        }

            .SaturnForum-user:hover {
                color: #3498db;
                text-decoration: underline;
            }
        .SaturnForum-time,
        .SaturnForum-floor {
            align-self: center;
            font-size: 0.85rem;
            word-break: break-all;
        }
        .SaturnForum-time {
            grid-area: time;
            justify-self: start;
            text-align: left;
            margin-left: 10px;
        }
        .SaturnForum-floor {
            grid-area: floor;
            justify-self: end;
            text-align: right;
            margin-right: 10px;
        }
        .SaturnForum-text {
            grid-area: text;
            font-size: 0.95rem;
            word-break: break-all;
            overflow: auto;
            margin: 5px;
            line-height: 1.35;
        }
        .SaturnForum-reaction {
            display: grid;
            grid-area: reaction;
            grid-template-columns: 50px 20px 1fr;
            grid-template-areas:
                "reference ping report";
        }
        .SaturnForum-reference,
        .SaturnForum-ping,
        .SaturnForum-report {
            justify-self: center;
            align-self: center;
            text-align: center;
            margin: 10px;
            font-size: 0.85rem;
            color: #3498db;
            transition: color 0.3s ease;
            cursor: pointer;
        }
        .SaturnForum-reference { grid-area: reference; }
        .SaturnForum-ping { grid-area: ping; }
        .SaturnForum-report {
            grid-area: report;
            justify-self: right;
        }
        .SaturnForum-reference:hover,
        .SaturnForum-ping:hover,
        .SaturnForum-report:hover {
            color: #e74c3c;
            text-decoration: underline;
        }
        .SaturnForum-reference:focus,
        .SaturnForum-ping:focus,
        .SaturnForum-report:focus {
            outline: 2px solid #3498db;
            outline-offset: 2px;
            border-radius: 2px;
        }
        @media (max-width: 400px) {
            .SaturnForum-Maincontainer {
                grid-template-columns: 100px 1fr;
                grid-template-rows: 40px 2px 80px minmax(30px,auto) 2px minmax(150px,auto) 2px minmax(40px,auto);
                grid-template-areas:
                    "logo logo"
                    "line-left-top line-left-top"
                    "portrait time"
                    "user floor"
                    "line-top line-top"
                    "text text"
                    "line-bottom line-bottom"
                    "reaction reaction";
            }
            .SaturnForum-time {
                justify-self: end;
                text-align: right;
                margin-right: 10px;
            }
        }