---
# System prepended metadata

title: MonkChat | Web

---

# MonkChat | Web
**Author:** Matheus Rafael Morato Rocha
**Turma:** InfoC
**Número:** 40

[toc]


## Faixas

### HTML

```htmlmixed=
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="index.css">
    <link rel="stylesheet" href="../comum/fonts.css">
    <link rel="stylesheet" href="responsivo.css">
    <title>MonkChatWeb</title>
</head>
<body>
    <div class="f1-tudo">
        <div class="f1-parte1">
            <div class="f1-logo"><img src="../../assets/images/logo1 1.png"></div>
            <hr>
            <div class="f1-texto">MonkChat</div>
        </div>    
        <div class="f1-parte2">
            <div class="f1-boxes">
                    <div class="f1-box">
                        <div class="f1-info">
                            <div class="f1-sala">
                                <h1>Sala:</h1>
                                <div class="sala"><input id="sala" type="text"></div>
                            </div>

                            <div class="f1-nick">
                                <h1>Nick:</h1>
                                <div class="nick"><input id="nick" type="text"></div>
                            </div>

                            <div class="f1-botao">
                                <button id="botao">Criar</button>
                                <Button>Entrar</Button>
                            </div>
                        </div>
                    </div>
                    <div class="f1-box2">
                        <div class="f1-texto2">Mensagem:</div>
                        <div class="f1-batepapo">
                            <textarea id="story" name="story" rows="12" cols="25.5"></textarea>
                            <div class="text"><textarea name="" id="zap" cols="49" rows="12"></textarea></div>
                        </div>
                        <div class="f1-botao2">
                            <Button>Enviar</Button>
                        </div>
                    </div>
            </div>          
            <div class="f1-batepapos">
                 
                <div class="f1-reload"><img src="../../assets/images/Group 1.png" ></div>
                <div class="f1-conversas">    
                    <div class="f1-bate">
                        <div class="f1-papo1">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:03:25) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                        <div class="f1-papo">(15:02:01) <span>Bruno</span> entrou na sala...</div>
                    </div>    
                </div>
    
            </div>

        </div>
    </div>
</body>
</html>
```
### CSS

```css=
.f1-tudo {
    display: flex;
    flex-direction: column;
    background-color: #583BBF;
    padding: 1.5em 2em;
}

.f1-parte1 {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.f1-texto {
    color: white;
    font-size: 1.7rem;
    font-family: Bold;
}

* {
    margin: 0px;
    display: block;
}

title {
    display: none;
}

hr {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    width: 4px;
    height: 59px;
    background-color: #BA9D4C;
    border-radius: 5px ;
}


.f1-parte2 {
    display: flex;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.12);
    margin-top: 2rem;
}

.f1-info {
    display: flex;
    flex-direction: column;
}

.f1-sala,.f1-nick {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: white;
    font-family: Bold;
    font-size: 10px;
}
.f1-sala {
    margin-bottom: 0.4rem;
}

.f1-nick h1 {
    margin-right: -0.3rem;
}

button {
    background-color: #50B4BF;
    color: white;
    border-radius: 20px;
    border: none;
    font-size: 0.8rem;
    font-family: Bold;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    cursor: pointer;
}

button:hover {
    background-color: #93f1fc;
    transition: 0.5ms;
}

.f1-botao {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 4.5rem;
    margin-top: 0.5rem;
    border: 1rem;

}

input {
    background-color: white;
    width: 160px;
    height: 25px;
    border: none;  
    border-radius: 5px;
    font-family: Bold;
    outline: none;
    margin-left: 1rem;
}
textarea {
    background-color: white;
    border: none;  
    resize: none;
    border-radius: 5px;
    font-family: Bold;
    outline: none;
}
.f1-batepapo input {
    background-color: white;
    width: 220px;
    height: 200px;
    border: none;  
    border-radius: 5px;
    font-family: Bold;
    outline: none;
    margin: 0px;
}

.f1-box2 {
    display: flex;
    flex-direction: column;
    margin-top: 4.5rem;
    margin-bottom: 1.5rem;
}

.f1-texto2 {
    color: white;
    font-family: Bold;
    font-size: 19px;
    margin-bottom: 1rem;
}

.f1-botao2 {
    margin-left: 9rem;
    margin-top: 0.8rem;
}

.f1-boxes {
    margin-left: 2rem;
    margin-top: 3rem;
}

html, body {
    overflow: hidden;
    overflow-y: hidden;
}

.f1-conversas {
    display: flex;
    flex-direction: column;
    background: rgba(192, 65, 224, 0.19);
    border-radius: 3px;
    width: 950px;
    height: 440px;
    margin-left: 2rem;
    margin-top: 1.5rem;
}

span {
    font-family: Bold ;
    font-size: 1rem;
    color: white;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

.f1-papo {
    font-family: Regular ;
    font-size: 1rem;
    flex-direction:row ;
    display: flex;
    color: white;
    margin-top: 1rem;
}

.f1-papo1 {
    font-family: Regular ;
    font-size: 1rem;
    flex-direction:row ;
    display: flex;
    color: white;
    margin-top: rem;
}

.f1-bate {
    margin-top: 2rem;
    margin-left: 2rem;
    overflow-y: auto;
}

.f1-bate::-webkit-scrollbar-track
{
	border-radius: 10px;
	background-color: #3E006F;
}

.f1-bate::-webkit-scrollbar
{
	width: 7.5px;
    border-radius: 10px;
	background-color: #3E006F;
}

.f1-bate::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: white;
}

.f1-reload img {
    margin-left: 60rem;
    align-content: center;
    margin-bottom: -1.2rem;
    align-items: center;
    margin-top: 1rem;
    cursor: pointer;
}

.text textarea {
    display: none;
}

```

### CSS RESPONSIVO

```css=
@media (max-width: 800px)
{
    .f1-parte1 {
        justify-content: center;
        flex-direction: column;
        display: flex;
        align-content: center;
        align-items: center;
    }
    .f1-texto {
        margin-top: 0.5rem;
        font-size: 2.5rem;
    }
    .f1-parte2 {
        flex-direction: column;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        padding-bottom: 2rem;
    }
    .f1-texto2 {
        margin-left: 4rem;
    }

    html, body {
        overflow: auto;
        overflow-y: auto;
    }
    .text textarea  {
        flex-direction: column;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        margin-left: 0.5rem;
        margin-right: 0rem;
    }
    input {
        background-color: white;
        width: 335px;
        height: 25px;
        border: none;  
        border-radius: 5px;
        font-family: Bold;
        outline: none;
        margin-left: 1rem;
    }

    .f1-conversas {
        display: flex;
        flex-direction: column;
        background: rgba(192, 65, 224, 0.19);
        border-radius: 3px;
        width: 410px;
        height: 250px;
        justify-content: center;
        align-content: center;
        margin-left: 0.2rem;
    }

    .f1-bate {
        margin-top: 0rem; 
        margin-left: 0rem; 
        overflow-y: auto;
    }
    .f1-boxes {
        margin-left: 0rem;
        margin-top: 3rem;
    }

    .f1-batepapo textarea {
        display: none;
    }
    .text textarea {
        display:flex;
    }

    .f1-box2 {
        margin-top: 3rem;
    }

    .f1-texto2 {
        margin-left: 0px;
    }
    #zap {
        margin-left: 0px;
    }
    Button {
        border-radius: 5px;
        margin-left: 0rem;
        margin-right: 0rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        font-size: 1rem;
        height: auto;
        width: 407px;
    }
    hr {
        display: none;
    }

    .f1-botao {
        flex-direction: column;
        display: flex;
        justify-content: center;
        margin-left: 0rem;
        margin-top: 1rem;
    }

    #botao {
        margin-bottom: 0.3rem;
    }
    .f1-sala, .f1-nick {
        display: flex;
        flex-direction: row;
        align-items: center;
        color: white;
        font-family: Bold;
        font-size: 10px;
        margin-left: 0rem;
    }

    .f1-botao2  {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        margin-left: 0px;
    }

    .f1-papo {
        text-align: justify;
        margin-top: 0.8rem;
        margin-left: 1rem;
    }

    .oi {
        margin-bottom: -1rem;
    }

    .f1-papo1 {
        margin-top: 0.8rem;
        margin-left: 1rem;
    }

    .f1-reload img {
        margin-left: 24.5rem;
        align-content: center;
        align-items: center;
        margin-top: 1rem;
        cursor: pointer;
        margin-bottom: 0.2rem;
    }

    .f1-batepapos {
        flex-direction: column;
        display: flex;
    }
}

```