- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
所以,我不会说谎。我不是一个专业的编码员,我从论坛上学到了我所知道的一切,我不会按照书本做事。我有点欺骗系统。不管怎样,我一直在 Enjin 上编辑一个网站,这是一个游戏平台,您可以在其中插入 html/css 模块来改变布局和设计。我已经对整个事情进行了编码,使用 div 和我 friend 的服务器上没有的东西。我想再次重申,我不是专业人士,我这样做是为了好玩而且免费。现在,我陷入了困境。我想扩大我所做的一切,而不是进入并重新编码我所有的 div,因为我使用 px 来定义它们。这是我的代码,我将插入一个指向该站点的链接。任何帮助将不胜感激..
[这是网站] http://www.terracrafters.net/test
.m_minecraftserverstatus_new.preset_43030555 {
background-color: #1e2124;
opacity: .9;
border-radius: 0px;
border: 0px solid #ffffff;
margin-top: 10px;
}
BODY {
overflow-x:hidden;
}
.breaker {
opacity: 0;
}
.m_minecraftserverstatus_new.preset_43030555 .top-area {
background-color: #1e2124;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.body-wrap-3 {
background-repeat: no-repeat;
background-position: top;
background-image: url(https://assets-cloud.enjin.com/themes/1487945582_Background.png);
}
.body-wrap-3, #page {
min-width: 0 !important;
max-width: none !important;
}
#page-wrap {
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
max-width: 1100px;
margin: 60px auto 30px;
}
.logo {
z-index: 10000000;
margin-top: -1px;
margin-left:38%;
margin-bottom: -65px;
}
.container {
margin-top: -16px;
}
body #site-body {
min-height: 750px;
max-width: 1100px !important;
margin: 0 auto;
background-image: url(https://scontent-iad3-1.xx.fbcdn.net/v/t35.0-12/17521938_1421397851215990_1860950770_o.png?oh=a7575fe8a4e2aca7bc01d19f859148e0&oe=58D973CA);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: 2000px;
background-position-y: -260px;
background-position-x: 0px;
}
a, p, div, h1, h2, h3, h4, span {
font-family: MedievalSharp; sans-serif;
}
.abmpro {
background: transparent;
float: right;
margin-left: 800px;
margin-top: 105px;
z-index: 10000000;
position: absolute;
}
.navbar {
background-color: #1f4636;
height: 15px;
text-align: left;
color: black;
text-transform: uppercase;
padding: 25px;
font-size: 15px;
font-weight: 0px;
margin-bottom: -4%;
width: 67.35%;
margin-left: -.7%;
margin-top: 90px;
display: inline-block;
}
.navbar img{
left: 50%;
margin-top: -250px;
position: relative;
transform: translateX(-255.5%) translateY(40%);
}
.navbar a{
-webkit-text-emphasis-color: black;
color: white;
text-transform: uppercase;
padding: 25px;
height: 35px;
}
.navbar a:hover {
color: antiquewhite;
background-color:#1a1a1a;
text-transform: uppercase;
text-decoration:none;
width: 0;
transition: 0.4s ease-in;
-o-transition: 0.4s ease-in;
-ms-transition: 0.4s ease-in;
-moz-transition: 0.4s ease-in;
-webkit-transition: 0.4s ease-in;
overflow: hidden;
padding: 25px;
height: 35px;
}
.navbar p {
margin-bottom: -5px;
}
.abmhomeconent {
background-color: #452121;
margin-left: -11px;
margin-right: -11px;
margin-top: -5.1%;
margin-bottom: -39px;
}
.simple-ss {
border-bottom-left-radius: 5em;
border-bottom-right-radius: 5em;
width: 1100px;
height: 300px;
background-color: black;
margin-top: 23px;
margin-left: -11px;
background-image: url("http://i.imgur.com/vqs1TBE.jpg");
background-position: 0;
background-repeat: no-repeat;
background-size: cover;
animation-name: slide;
animation-duration: 10s;
animation-direction: normal;
animation-timing-function: linear;
animation-iteration-count: 1;
float: right;
margin-right: 470px;
margin-bottom:-5px;
animation-fill-mode:forwards;
}
@keyframes slide {
0% {background-position: 0 -100;}
50% {background-position: 0 -50px;}
100% {background-position: 0 0px;}
}
#enjin-bar .left {
display:inherit;
z-index:50000;
}
.m_html p {
min-height: 1.25em;
margin-bottom: -64px;
line-height: 1.25;
margin-left: 405px;
}
#enjin-bar {
right: .0%;
top: 7.55%;
text-transform: uppercase;
text-decoration: none;
font-family: 'Lato', sans-serif;
color: #8a8a8a;
position: absolute;
z-index:50000;
}
#page-footer {
display:none;
}
#page-footer left {
display: none;
}
#page-footer right {
display: none;
}
.container_body {
margin-top:-.2%;
margin-left:-.1%;
margin-right:-.1%;
}
.m_news.main {
position: relative;
margin-top: 10px;
}
.m_news {
background-color: #1e2124;
margin-left: .1%;
margin-right: 1%;
opacity: .9;
}
.m_news.main .float-manage,.m_news.main .float-rss {
margin-top:0px;
}
.m_news .heading {
background:#D8D8D8;
height:25px;
padding:20px;
}
.m_news.main .article.first .heading {
margin-right:0!important;
}
.m_news.main .heading .title, .m_news.viewarticle .heading .title {
font-size: 20px;
text-transform: uppercase;
padding-top: 2px;
margin-top: -5px;
}
.m_news .heading .title a {
color:#000;
font-weight:300!important;
}
.m_news .heading .info {
visibility:hidden;
}
.m_news .heading .info .date {
visibility:visible;
float:right;
position:relative;
top:-30px;
font-size:22px;
text-transform:uppercase;
color:#fff;
}
.m_news .article .article-content {
font-size:14px;
line-height:20px;
text-align:justify;
padding-bottom:10px;
}
.m_news.viewarticle .m_plugin_comment {
width:94%;
margin:50px auto 0 auto;
}
.m_news.viewarticle .m_plugin_comment .block-title {
background:transparent;
border-bottom:2px solid #FFA62F;
color:#FFA62F;
}
.m_news .article .heading .element_avatar {
margin-top: -2.4%;
margin-left:-6px;
}
.post_interact_like_list {
width:100px;
}
.post_interact_like_list_hidden{
width:100px;
}
#boot_admin{
margin-top:0px;
}
#boot_admin a:nth-child(1){
display:none;
}
#boot_profile{
height:30px;
}
#boot_profile .element_username{
color: black !important;
text-decoration:none !important;
}
#boot_profile span:hover{
background-color: transparent;
color: rgb(51, 51, 51) !important;
text-decoration: none;
}
/*Changes our enjin dropdown caret to something that is close to twitter's caret object(Part 2 for border)*/
#enjin-bar .arrow:after{
border-top:6px solid transparent;
border-top-color:rgba(255, 255, 255);
border-right:6px solid transparent;
border-bottom:6px solid transparent;
border-left:6px solid transparent;
top:3px;
}
/*Changes the style of our entire dropdown box to mimick Boot strap style*/
.element_dropdown_menu.element_popup.enjinbar-menu{
margin-top:26px;
-webkit-border-radius:6px 0 6px 6px;
-moz-border-radius:6px 0 6px 6px;
border-radius:6px 0 6px 6px;
border:1px solid #ccc;
border:1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius:6px;
-moz-border-radius:6px;
border-radius:6px;
z-index:99999;
color:black;
}
/*Our inner elements of our entire enjin drop down*/
.element_popup .inner {
background-color: white !important;
margin-left:10px;
text-decroation:none;
padding:0px 0;
margin:-1px -25px 0;
list-style:none;
border:solid gray 1px;
-webkit-background-clip:padding-box;
-moz-background-clip:padding;
background-clip:padding-box;
color:black;
}
/*Text - Our inner elements of our entire enjin drop down*/
.element_popup .inner li a{
color:#333;
font-size:12px;
font-family:Arial;
padding:6px 20px !important;
}
/*Text - Hover - Our inner elements of our entire enjin drop down*/
.element_popup .inner .menu-link:hover{
text-decoration:none;
color:#ffffff;
background-color:#0081c2;
background-image:-moz-linear-gradient(top, #0088cc, #0077b3);
background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
background-image:-webkit-linear-gradient(top, #0088cc, #0077b3);
background-image:-o-linear-gradient(top, #0088cc, #0077b3);
background-image:linear-gradient(to bottom, #0088cc, #0077b3);
background-repeat:repeat-x;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
/*Enjin Divider lines to look...better*/
.element_popup .inner .menu-divider-line{
background-color: #E5E5E5 !important;
border-bottom: 1px solid white !important;
height:1px !important;
opacity:0.4;
}
/*Profile drop down item hover events*/
.element_popup .inner .item:hover{
background-color: rgb(0, 129, 194);
background-image: linear-gradient(to bottom, rgb(0, 136, 204), rgb(0, 119, 179));
}
/*Profile drop down text style*/
.element_popup .inner .item a{
text-decoration:none;
font-weight: normal;
margin-bottom:-5px; /*Reduces some spacing..since menu is huge*/
color: rgb(51, 51, 51);
font-family:arial;
}
/*Profile drop down text style - hover*/
.element_popup .inner .item a:hover{
color: rgb(255, 255, 255);
}
/*Font,text - Our site box at bottom of profile dropdown*/
.sitebox a {
font-size:10px !important;
color:#333;
margin-left:-20px;
background-color:transparent;
}
/*Font,text, make less default space - Our site box at bottom of profile dropdown*/
.enjinbar-menu-user .sitebox{
margin-bottom:10px;
}
/*That damn gear! - Our site box at bottom of profile dropdown*/
.enjinbar-menu-user .sitebox .gear {
background-position: 40px 0px; /*Removes Enjin's mysterious extra icons*/ }
/*Text for site urls - Our site box at bottom of profile dropdown*/
.sitebox .url{
color:#333;
}
/*Our visible username text*/
#enjin-bar .element_username{
color:#000;
text-decoration:none;
}
/*Removes our likes etc.*/
#enjin-bar #enjin-bar-likes{
display:none !important;
}
/*Removes site info,site name and our admin gear*/
#enjin-bar .left a:nth-of-type(1),#enjin-bar .left a:nth-of-type(2),#enjin-bar .left a:nth-of-type(3){
display:none !important;
}
/*creates a default right position for our admin, fixed, position manually on your fixed nav*/
#enjin-bar .left{
margin-top:8px;
z-index:9999;
margin-left:530px;
position:fixed;
}
/*Our admin text on hover*/
#enjin-bar .left a:hover{
color: rgb(51, 51, 51);
text-decoration:none;
}
.sitebox {
display:none;
}
/*END Enjin bar nav positioning*/
/*profile*/
.v2_system_social .widget_owner {
padding: 5px;
font-size: 14px;
padding-bottom: 25px;
}
.v2_system_social .middle_inner, .v2_system_social .sidebar_widget_inner, .v2_system_social .profile_menu .menu_popup_inner {
border: 0px;
border-color: transparent;
padding: 1px;
}
.v2_system_social table.header .cover {
display: inline-block;
vertical-align: middle;
text-align: left;
width: 100%;
height: 173px;
max-width: 898px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border: 1px solid rgba(0, 0, 0, 0.2);
background-repeat: no-repeat;
background-position: -1px -1px;
position: relative;
}
.v2_system_social table.header .avatar {
width: 173px;
height: 173px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border: 1px solid rgba(0, 0, 0, 0.2);
background-repeat: no-repeat;
background-position: -1px -1px;
}
.v2_system_social .middle {
margin: 0 400px 0 78px;
border-radius: 0px;
min-height: 600px;
}
.v2_system_social .sidebar_widget {
width: 383px;
border-radius: 0px;
margin-bottom: 15px;
}
.sidebar_widget {
background-color: #613D41;
}
body.liquid .v2_system_social {
max-width: 1090px;
min-width: 954px;
margin: 0 auto;
width: 1067px;
}
#avatar img {
max-width: 100%;
border-style: solid;
border-width: 0px;
/* float: right; */
z-index: 1;
margin-top: -2.8%;
/* margin-left: 700px; */
float: right;
position: relative;
}
.m_pointsdisplay {
display:none;
}
.v2_system_social .wall .share_closed, .v2_system_social .wall .share, .v2_system_social .wall .share_add_container {
background-color: #ffffff;
border: 1px solid;
border-color: #1a1a1a;
width: 67%;
}
.v2_system_social .widget_owner .logo {
float: left;
width: 74px;
margin-right: 10px;
border-radius: 0px;
overflow: hidden;
}
.container_body .container_right {
/* background-image: url(https://assets-cloud.enjin.com/themes/1350633694_re.png); */
/* width: 13px; */
/* background-color: transparent; */
}
.m_shoutbox {
width: 100%;
background-color: #1e2124;
opacity: .9;
}
@media screen and (min-width: 1024px)
(index):477
#enjin-bar .left {
display:none;
}
#boot_admin{
margin-top:0px;
}
#boot_admin a:nth-child(1){
display:none;
}
#boot_profile{
height:30px;
}
#boot_profile .element_username{
color: black !important;
text-decoration:none !important;
}
#boot_profile span:hover{
background-color: transparent;
color: rgb(51, 51, 51) !important;
text-decoration: none;
}
/*Changes our enjin dropdown caret to something that is close to twitter's caret object(Part 2 for border)*/
#enjin-bar .arrow:after{
border-top:6px solid transparent;
border-top-color:rgba(255, 255, 255);
border-right:6px solid transparent;
border-bottom:6px solid transparent;
border-left:6px solid transparent;
top:3px;
}
/*Changes the style of our entire dropdown box to mimick Boot strap style*/
.element_dropdown_menu.element_popup.enjinbar-menu{
margin-top:26px;
-webkit-border-radius:6px 0 6px 6px;
-moz-border-radius:6px 0 6px 6px;
border-radius:6px 0 6px 6px;
border:1px solid #ccc;
border:1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius:6px;
-moz-border-radius:6px;
border-radius:6px;
z-index:99999;
color:black;
}
/*Our inner elements of our entire enjin drop down*/
.element_popup .inner {
background-color: white !important;
margin-left:10px;
text-decroation:none;
padding:0px 0;
margin:-1px -25px 0;
list-style:none;
border:solid gray 1px;
-webkit-background-clip:padding-box;
-moz-background-clip:padding;
background-clip:padding-box;
color:black;
}
/*Text - Our inner elements of our entire enjin drop down*/
.element_popup .inner li a{
color:#333;
font-size:12px;
font-family:Arial;
padding:6px 20px !important;
}
/*Text - Hover - Our inner elements of our entire enjin drop down*/
.element_popup .inner .menu-link:hover{
text-decoration:none;
color:#ffffff;
background-color:#0081c2;
background-image:-moz-linear-gradient(top, #0088cc, #0077b3);
background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
background-image:-webkit-linear-gradient(top, #0088cc, #0077b3);
background-image:-o-linear-gradient(top, #0088cc, #0077b3);
background-image:linear-gradient(to bottom, #0088cc, #0077b3);
background-repeat:repeat-x;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
/*Enjin Divider lines to look...better*/
.element_popup .inner .menu-divider-line{
background-color: #E5E5E5 !important;
border-bottom: 1px solid white !important;
height:1px !important;
opacity:0.4;
}
/*Profile drop down item hover events*/
.element_popup .inner .item:hover{
background-color: rgb(0, 129, 194);
background-image: linear-gradient(to bottom, rgb(0, 136, 204), rgb(0, 119, 179));
}
/*Profile drop down text style*/
.element_popup .inner .item a{
text-decoration:none;
font-weight: normal;
margin-bottom:-5px; /*Reduces some spacing..since menu is huge*/
color: rgb(51, 51, 51);
font-family:arial;
}
/*Profile drop down text style - hover*/
.element_popup .inner .item a:hover{
color: rgb(255, 255, 255);
}
/*Font,text - Our site box at bottom of profile dropdown*/
.sitebox a {
font-size:10px !important;
color:#333;
margin-left:-20px;
background-color:transparent;
}
/*Font,text, make less default space - Our site box at bottom of profile dropdown*/
.enjinbar-menu-user .sitebox{
margin-bottom:10px;
}
/*That damn gear! - Our site box at bottom of profile dropdown*/
.enjinbar-menu-user .sitebox .gear {
background-position: 40px 0px; /*Removes Enjin's mysterious extra icons*/ }
/*Text for site urls - Our site box at bottom of profile dropdown*/
.sitebox .url{
color:#333;
}
/*Our visible username text*/
#enjin-bar .element_username{
color:#000;
text-decoration:none;
}
/*Removes our likes etc.*/
#enjin-bar #enjin-bar-likes{
display:none !important;
}
/*Removes site info,site name and our admin gear*/
#enjin-bar .left a:nth-of-type(1),#enjin-bar .left a:nth-of-type(2),#enjin-bar .left a:nth-of-type(3){
display:none !important;
}
/*creates a default right position for our admin, fixed, position manually on your fixed nav*/
#enjin-bar .left{
margin-top:8px;
z-index:9999;
margin-left:530px;
position:fixed;
}
/*Our admin text on hover*/
#enjin-bar .left a:hover{
color: rgb(51, 51, 51);
text-decoration:none;
}
/*END Enjin bar nav positioning*/
最佳答案
我认为可以肯定地说没有人会阅读 allllll 那个 css ;) 但是快速浏览一下您的站点,有两个明显的地方需要更改。当然,这完全取决于您所说的扩大一切的意思。但是您将 body #site-body
和 #page-wrap
都设置为 max-width:100px
。您可以删除它或更改它,它会将您的主要内容延伸到整个页面。我怀疑图像和菜单在页面上方也有一些东西。
我还希望减少 !important
的数量,因为它们会让您在尝试设计样式时遇到各种麻烦。希望对您有所帮助!
关于javascript - 如何在不重新编码的情况下扩大我的网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43083230/
这个问题在这里已经有了答案: How does Scala's apply() method magic work? (3 个回答) 9年前关闭。 假设我在 scala 中有一个 MyList 类,其
这个问题在这里已经有了答案: What is a non-capturing group in regular expressions? (18 个回答) Reference - What does
这个问题是针对嵌入式系统的! 我有以下选项来初始化一个对象: Object* o = new Object(arg); 这会将对象放入堆中并返回指向它的指针。我不喜欢在嵌入式软件中使用动态分配。 Ob
我自己搜索过,没能成功的正则表达式。 我有一个 html 文件,其中包含 [] 之间的变量我想把每一个字都写进去。 [client_name][client_company] [cl
我是 Python 新手。我不明白为什么这段代码不起作用: reOptions = re.search( "[\s+@twitter\s+(?P\w+):(?P.*?)\s+]", d
在过去 7 个月左右的时间里,我几乎一直在使用 .NET C# 进行编程。在那之前,我的大部分编程都是用 C++(从学校里学的)。在工作中,我可能需要在接下来的几个月里做一大堆 C 语言。我对 C 的
我是 RE 的新手,我正在尝试获取歌词并分离出歌词标题、和声和主唱: 下面是一些歌词的例子: [Intro] D.A. got that dope! [Chorus: Travis Scott] Ic
这可能是不可能的,但我想检查是否可以用一种简单的方式表达这样的事情: // obviously doesn't work class Foo : IFoo where T: Bar {
我们的应用程序中有“user”和“study”实体,存储在它们各自的表中。一项研究代表一种研究和已收集的数据。它们是多对多的关系,所以我们需要一个链接表:studies_users。 我们为用户分配角
将测试条件添加到 Visual Studio 2010 数据库单元测试(对于 SQL Server 2008)时,这些条件称为例如rowCountCondition1、rowCountConditio
在模拟器上,我可以从设置中卸载 SD 卡。 然后我可以将它安装到我的操作系统上,然后正常卸载它。 我一直无法弄清楚如何在模拟器上重新安装它(无需重新启动)。 提示: adb 命令 remount 是无
假设在一个分支上执行了一系列提交,但该分支尚未与主干重新同步。是否可以从提交中生成全局补丁?是否可以从一系列提交中生成“分组”补丁?如果是,如何? 最佳答案 svn diff -rXXX:YYY UR
在某些情况下,我想在我的应用程序中锁定调整大小功能,为此我尝试对属性进行数据绑定(bind),并且不允许在某些情况下更改它,但没有成功。 有没有办法这样做? 这是我不成功的尝试: XAML: Vie
当我的计算机连接多个显示器时,我可以检测它们,并根据从获取的值设置位置来向它们绘制图形 get(0, 'MonitorPositions') 但是,当我在 MATLAB 运行时断开监视器时,此属性不会
我们有一个grails应用程序,该应用程序在grails数据库中存储了各种域对象。该应用程序连接到第二个数据库,运行一些原始sql,并在表中显示结果。它基本上是一个报告服务器。 我们通过在DataSo
无法比较来自不同容器的迭代器(参见这里的示例: https://stackoverflow.com/a/4664519/225186 )(或者从技术上讲,它不需要有意义。) 这就提出了另一个问题,来自
我有以下情况: 家长 Activity : ParentActivityClass { private Intent intent; @Override public void onCreate(Bu
我经常将元素与附加功能 Hook ,例如: $('.myfav').autocomplete(); $('.myfav').datepicker(); $('.myfav').click(somefu
因此,我将 tooltipster.js 库用于工具提示,并尝试更改工具提示在不同屏幕尺寸上的默认距离。 所以这是默认的 init 的样子: $(inputTooltipTrigger).tool
我在 ARM7 嵌入式环境中工作。我使用的编译器不支持完整的 C++ 功能。它不支持的一项功能是动态类型转换。 有没有办法实现dynamic_cast<>() ? 我使用 Google 寻找代码,但到
我是一名优秀的程序员,十分优秀!