belle

An HTTP / Websocket library in C++17 using Boost.Beast and Boost.ASIO.


belle

/

example

/

server

/

chat

/

public

/

chat.css

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
html {
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background-color: #1b1e24;
  box-sizing: border-box;
  color: #f0f0f0;
  font-family: Lucida Sans Typewriter,Lucida Console,monaco,monospace;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.15;
}

* {
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

*,*::before,*::after {
  box-sizing: inherit;
}

hr {
  border: 0;
  margin: 10px 0 10px 0;
  border-top: 1px solid #424957;
}

a {
  color: inherit;
  background-color: inherit;
  text-decoration: none;
}

textarea {
  color: inherit;
  background-color: inherit;
  border: 1px solid #424957;
  border-radius: 4px;
  padding: 10px;
}

#content {
  padding: 10px;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

#room {
  font-size: 1.8rem;
  font-weight: bold;
}

#count {
  font-size: 1.2rem;
  font-weight: bold;
}

#users {
  font-size: 1.2rem;
}

#feed {
  display: flex;
  flex-flow: column-reverse nowrap;
  border: 1px solid #424957;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

#msg {
  width: 100%;
  height: 100px;
}

#submit {
  width: 100%;
  height: 26px;
  color: inherit;
  font-weight: bold;
  border: 1px solid #424957;
  background-color: #23262c;
  border-radius: 4px;
}

#submit:hover {
  background-color: #2d3139;
}

.item {
  text-align: left;
  padding: 8px 10px 0 10px;
}
.item-body {
  padding-bottom: 10px;
}
Back to Top