Team:UCLA/Template/CSS test

From 2014.igem.org

(Difference between revisions)
Line 463: Line 463:
     position: absolute;
     position: absolute;
     left: -1px;
     left: -1px;
 +
    top: -1px;
 +
    width: auto;
 +
    max-width: 380px;
 +
    height: auto;
 +
    background: #f2f2f2;
 +
    border-bottom-right-radius: 10px;
 +
    border:1px solid #333;
 +
}
 +
#top {
 +
    background: #fff;
 +
    width: 100%;
 +
    height: auto;
 +
    position: relative;
 +
    border-bottom: 1px solid #eee;
 +
}
 +
p {
 +
    font-family: Arial, sans-serif;
 +
    color: #666;
 +
    text-align: justify;
 +
    font-size: 16px;
 +
    margin: 10px;
 +
}
 +
a {
 +
    font-family: sans-serif;
 +
    color: #444;
 +
    text-decoration: none;
 +
    font-size: 20px;
 +
}
 +
#site {
 +
    float: left;
 +
    margin: 10px;
 +
    color: #38a;
 +
    border-bottom: 1px dashed #888;
 +
}
 +
#site: hover {
 +
    color: #7af;
 +
}
 +
#close {
 +
    float: right;
 +
    margin: 10px;
 +
}
 +
#p {
 +
    font-family: Verdana, sans-serif;
 +
    position: absolute;
 +
    right: 10px;
 +
    bottom: 10px;
 +
    color: #167fc6;
 +
    border: 1px dashed #555;
 +
    padding: 4px 8px;
 +
}
</style>
</style>
</html>
</html>

Revision as of 21:43, 5 August 2014