Файл: css/style.css
Строк: 80
@charset "utf-8";
/* CSS Document */
/*Урок
подготовлен web-студией
roothelp.ru*/
/*Титры*/
.rh_title
{
color: gold;
font-size:
24px;
}
.rh_webstudia
{
color: white;
font-size:
14px;
}
.roothelp_img
{
border: none;
}
/*Основные
стили*/
*, html, body
{
margin:0
auto;
padding:0;
}
.width
{
width: 100%;
}
.center
{
margin:0
auto;
text-align: center;
}
.onetable
{
background:
#6eaaff;
height: 100px;
width: 100%;
}
.text
{
margin:0
auto;
width:
660px;
}
*{
margin:0;
padding:0;
}
p{
text-align:left;
margin-bottom:10px;
}
a{
position:relative;
display:inline-block;
}
/*===============================================*/
.tooltip
{
padding:5px;
border:1px solid
#000;
min-width:100px;
display:inline-block;
border:1px solid
#2BB0D7;
min-height:20px;
background:#9FDAEE;
position:absolute;
display:none;
color:#000;
border-radius:3px;
}
a:hover
.tooltip {
display:block;
top:-40px;
}
.tooltip:after
{
content:"";
position:absolute;
left:9px;
bottom:-10px;
width:
0;
height: 0;
border-top: 10px solid #9FDAEE;
border-right:
10px solid transparent;
}
.tooltip:before
{
content:"";
position:absolute;
left:8px;
bottom:-12px;
width:
0;
height: 0;
border-top: 12px solid #2BB0D7;
border-right:
12px solid
transparent;
}
#dialog-wrap{
width:660px;
height:500px;
overflow:auto;
background-color:#dde4ec;
}
#dialog
{
margin:0
auto;
padding:20px;
width:600px;
float:left;
background-color:#dde4ec;
}
.dialog
{
width:530px;
list-style:none;
margin:0 0
20px;
padding:0;
}
.dialog
p{
width:428px;
padding:10px;
border:1px solid
#000;
background:#f5f3f4;
display:block;
position:relative;
border-radius:3px;
box-shadow:3px
3px 2px rgba(0,0,0,0.5);
}
.left, .left p {
float:left;
}
.left
p:before
{
content:"";
position:absolute;
left:-12px;
top:24px;
width:
0;
height: 0;
border-top: 12px solid #000;
border-left:
12px solid transparent;
}
.left p:after
{
content:"";
position:absolute;
left:-10px;
top:25px;
width:
0;
height: 0;
border-top: 10px solid #f5f3f4;
border-left:
10px solid transparent;
}
.right p:before
{
content:"";
position:absolute;
right:-12px;
top:24px;
width:
0;
height: 0;
border-top: 12px solid #000;
border-right:
12px solid transparent;
}
.right p:after
{
content:"";
position:absolute;
right:-10px;
top:25px;
width:
0;
height: 0;
border-top: 10px solid #f5f3f4;
border-right:
10px solid
transparent;
}
.avatar{
width:58px;
height:58px;
background: #CCC
url(../img/avatar.png) no-repeat;
background-size:contain;
border:1px
solid #999;
}
.left .avatar
{
margin-right:15px;
float:left;
}
.right, .right img, .right p
{
float:right;
}
.right .avatar
{
margin-left:15px;
float:right;
}